Discord 集成
Connect Asyntai AI to your Discord server for automated responses and moderation
概述
Asyntai's Discord integration adds an AI-powered bot to your Discord server. Community members can ask questions and get instant answers from your knowledge base. The bot supports three response modes and optional AI moderation.
套餐要求: Discord integration is available on Starter, Standard, and Pro plans.
如何安装
Follow these steps to add the Asyntai bot to your Discord server:
Add the Bot to Your Server
前往 Discord 设置页面,点击"添加到 Discord"。从下拉菜单选择服务器,然后点击授权。机器人立即就绪 — 无需额外配置。您可以将机器人添加到多个服务器 — 只需再次点击"添加到 Discord"。每个服务器有独立的设置。
Choose a Response Mode
After connecting, select how the bot interacts with your community:
- @mention (default) — The bot responds when someone tags it. Best for servers where you want the bot available but not intrusive.
- 所有消息 — AI 阅读每条消息并决定是否回复。最适合专用支持频道。包含额外选项:
- 智能模式(默认开启)— AI 跳过闲聊,仅在能提供帮助时回复。关闭时,机器人回复每条消息。
- 频道感知 — AI 查看所有用户的完整频道对话,而不仅是个人线程。这使其能跟踪群组讨论并在上下文中回复。
- /ask command — Users type /ask followed by their question. Best for large servers where you want explicit bot interaction.
You can change the mode at any time from the setup page.
Test It Out
Go to any channel in your Discord server and tag the bot or use the /ask command. You should receive an AI-powered response within seconds.
AI 审核
The Discord bot can also moderate your server. When enabled, the AI reads every message and takes action based on rules you define. Each action can be independently enabled:
注意: 每次审核检查计为您月度计划配额中的 1 条消息,即使 AI 未采取任何行动。
- Delete messages — Remove messages that violate your rules (spam, NSFW, etc.)
- Warn users — Send a visible warning for minor violations
- Kick users — Remove users from the server for repeated violations
- Ban users — Permanently ban users for severe violations
Moderation runs independently of the response mode. Even in /ask-only mode, moderation still monitors every message.
所有审核操作都会被记录,可在设置页面访问的 审核日志 页面查看。您可以看到采取了什么操作、原因、原始消息以及发生时间。
提示: Start with Delete only, and add stronger actions once you are confident in the rules. The AI errs on the side of caution — when in doubt, it takes no action.
主动消息
机器人可以按计划发布 AI 生成的消息,主动发起对话。在设置页面启用并配置:
- 频道名称 — 机器人在哪个频道发布(例如 general, support)
- 频率 — 多久一次:每 2、4、6、12 小时,每天,每 2 天或每周
- 主题 — 机器人应该谈论什么。AI 每次根据您的主题生成全新的独特消息。
Each proactive message counts as 1 message toward your plan quota.
提示: 使用主动消息分享技巧、展示功能或保持社区活跃 — 即使没人提问。
工作原理
Once connected, here is what happens:
1. A community member sends a message in your Discord server
2. If moderation is enabled, the AI evaluates the message against your rules
3. If a response is triggered (by @mention, /ask, or all-messages mode), the AI generates an answer using your knowledge base
4. The response is sent in the channel, and the conversation is logged in your Asyntai dashboard
The AI maintains conversation context per user, so follow-up questions are understood in relation to previous messages.
实时监控 & 人工接管
Discord conversations appear in your Asyntai dashboard alongside other channels. On Standard and Pro plans, you can:
- Live Monitoring — See active Discord conversations in real time from the monitoring dashboard
- Human Takeover — Take over from the AI when a human touch is needed. The AI pauses and resumes automatically after 3 minutes of agent inactivity.
- Escalation — The AI can detect when a user wants to speak to a human and notify you by email
Advanced: Custom Bot Setup
If you prefer to use your own Discord Application instead of the shared Asyntai bot, expand the manual setup section on the setup page and provide your Application ID, Public Key, and Bot Token.
You will also need to set the Interactions Endpoint URL to https://asyntai.com/discord/webhook/ in the Discord Developer Portal.
定价
Discord integration is included in paid Asyntai plans:
- Starter ($39/月) - 每月 2,500 条消息
- Standard ($139/月) - 每月 15,000 条消息
- Pro ($449/月) - 每月 50,000 条消息
Messages from Discord count toward your monthly message quota, shared across all channels (widget, Instagram, WhatsApp, etc.).
故障排除
Bot not responding
Check that the bot is online in your server member list. If using @mention or all-messages mode, the Gateway bot process must be running. If using /ask only, make sure the Interactions Endpoint URL is set in the Discord Developer Portal.
Moderation not working
Ensure moderation is enabled on the setup page with at least one action toggled on and rules filled in. The bot also needs Manage Messages, Kick Members, or Ban Members permissions depending on the action.
Missing permissions
If the bot cannot delete messages or kick/ban users, check that its role in Discord has the necessary permissions and is positioned above the roles of the users it needs to moderate.
Bot shows offline
The @mention and all-messages modes require the Gateway bot process to be running. Start it with python manage.py discord_bot and ensure it stays running as a background service. The /ask slash command works without the Gateway process.
需要帮助?
如果您有任何问题或遇到困难,请通过hello@asyntai.com联系我们。