Integrasi Discord
Connect Asyntai AI to your Discord server for automated responses and moderation
Gambaran Keseluruhan
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.
Keperluan Pelan: Discord integration is available on Starter, Standard, and Pro plans.
Cara Memasang
Follow these steps to add the Asyntai bot to your Discord server:
Add the Bot to Your Server
Pergi ke halaman persediaan Discord dan klik "Tambah ke Discord". Pilih pelayan anda dan klik Beri Kebenaran. Bot sedia serta-merta — tiada konfigurasi tambahan diperlukan. Anda boleh menambah bot ke beberapa pelayan — cuma klik "Tambah ke Discord" semula. Setiap pelayan mempunyai tetapannya sendiri.
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.
- Semua mesej — AI membaca setiap mesej dan memutuskan sama ada untuk membalas. Terbaik untuk saluran sokongan khusus. Termasuk pilihan tambahan:
- Mod pintar (aktif secara lalai) — AI menggunakan pertimbangannya untuk melangkau sembang biasa dan hanya membalas apabila boleh membantu. Apabila dimatikan, bot membalas setiap mesej.
- Kesedaran saluran — AI melihat seluruh perbualan saluran daripada semua pengguna, bukan hanya utas individu. Ini membolehkannya mengikuti perbincangan kumpulan dan bertindak balas dalam konteks.
- /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.
Moderasi 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:
Nota: Setiap semakan moderasi dikira sebagai 1 mesej daripada kuota pelan bulanan anda, walaupun AI tidak mengambil tindakan.
- 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.
Semua tindakan moderasi direkodkan dan boleh dilihat di halaman Log Moderasi, boleh diakses dari halaman persediaan. Anda boleh melihat tindakan apa yang diambil, sebab, mesej asal dan bila ia berlaku.
Petua: 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.
Mesej Proaktif
Bot boleh memulakan perbualan sendiri dengan menyiarkan mesej AI mengikut jadual. Dayakan di halaman persediaan dan konfigurasikan:
- Nama saluran — Saluran mana bot menyiarkan (cth. general, support)
- Kekerapan — Berapa kerap: setiap 2, 4, 6, 12 jam, harian, setiap 2 hari atau mingguan
- Topik — Apa yang bot perlu bincangkan. AI menjana mesej segar dan unik setiap kali berdasarkan topik anda.
Each proactive message counts as 1 message toward your plan quota.
Petua: Gunakan mesej proaktif untuk berkongsi petua, menonjolkan ciri atau memastikan komuniti anda kekal terlibat — walaupun tiada siapa yang bertanya.
Cara Ia Berfungsi
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.
Pemantauan Langsung & Pengambilalihan Manusia
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.
Harga
Discord integration is included in paid Asyntai plans:
- Starter ($39/bln) - 2,500 mesej/bulan
- Standard ($139/bln) - 15,000 mesej/bulan
- Pro ($449/bln) - 50,000 mesej/bulan
Messages from Discord count toward your monthly message quota, shared across all channels (widget, Instagram, WhatsApp, etc.).
Penyelesaian Masalah
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.
Perlukan Bantuan?
Jika anda mempunyai soalan atau menghadapi masalah, hubungi kami di hello@asyntai.com.