Discord-integraatio
Connect Asyntai AI to your Discord server for automated responses and moderation
Yleiskatsaus
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.
Tilausvaatimus: Discord integration is available on Starter, Standard, and Pro plans.
Asennusohjeet
Follow these steps to add the Asyntai bot to your Discord server:
Add the Bot to Your Server
Mene Discord-asetussivulle ja napsauta "Lisää Discordiin". Valitse palvelimesi pudotusvalikosta ja napsauta Valtuuta. Botti on heti valmis — lisämäärityksiä ei tarvita. Voit lisätä botin useille palvelimille — napsauta vain "Lisää Discordiin" uudelleen. Jokaisella palvelimella on omat asetuksensa.
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.
- Kaikki viestit — AI lukee jokaisen viestin ja päättää vastaako. Paras omistetuille tukikanaville. Sisältää lisävaihtoehtoja:
- Älykäs tila (päällä oletuksena) — AI käyttää harkintaansa ohittaakseen tavallisen juttelun ja vastaa vain kun voi auttaa. Pois päältä botti vastaa jokaiseen viestiin.
- Kanavan tietoisuus — AI näkee koko kanavan keskustelun kaikilta käyttäjiltä, ei vain yksittäisiä säikeitä. Tämä antaa sen seurata ryhmäkeskusteluja ja vastata kontekstissa.
- /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-moderointi
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:
Huomautus: Jokainen moderointitarkistus lasketaan 1 viestiksi kuukausittaisesta suunnitelmasi kiintiöstä, vaikka AI ei ryhtyisi toimiin.
- 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.
Kaikki moderointitoiminnot kirjataan ja ovat näkyvissä Moderointiloki-sivulla, joka on käytettävissä asetussivulta. Näet mitä toimintoja tehtiin, syyn, alkuperäisen viestin ja milloin se tapahtui.
Vinkki: 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.
Proaktiiviset viestit
Botti voi aloittaa keskusteluja itse julkaisemalla AI-luotuja viestejä aikataulun mukaan. Ota tämä käyttöön asetussivulla ja määritä:
- Kanavan nimi — Mihin kanavaan botti julkaisee (esim. general, support)
- Tiheys — Kuinka usein: joka 2., 4., 6., 12. tunti, päivittäin, joka 2. päivä tai viikoittain
- Aiheet — Mistä botin pitäisi puhua. AI luo tuoreen, ainutlaatuisen viestin joka kerta aiheidesi perusteella.
Each proactive message counts as 1 message toward your plan quota.
Vinkki: Käytä proaktiivisia viestejä vinkkien jakamiseen, ominaisuuksien korostamiseen tai yhteisösi aktiivisena pitämiseen — vaikka kukaan ei kysy.
Miten se toimii
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.
Reaaliaikainen seuranta & ihmisagenttiin siirtyminen
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.
Hinnoittelu
Discord integration is included in paid Asyntai plans:
- Starter (39 $/kk) - 2 500 viestiä/kk
- Standard (139 $/kk) - 15 000 viestiä/kk
- Pro (449 $/kk) - 50 000 viestiä/kk
Messages from Discord count toward your monthly message quota, shared across all channels (widget, Instagram, WhatsApp, etc.).
Vianmääritys
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.
Tarvitsetko apua?
Jos sinulla on kysyttävää tai kohtaat ongelmia, ota meihin yhteyttä osoitteessa hello@asyntai.com.