تكامل 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.
- جميع الرسائل — يقرأ الذكاء الاصطناعي كل رسالة ويقرر ما إذا كان سيرد. الأفضل لقنوات الدعم المخصصة. يتضمن خيارات إضافية:
- الوضع الذكي (مفعّل افتراضياً) — يستخدم الذكاء الاصطناعي حكمه لتخطي الدردشة العادية والرد فقط عندما يمكنه المساعدة. عند الإيقاف، يرد البوت على كل رسالة.
- وعي القناة — يرى الذكاء الاصطناعي محادثة القناة الكاملة من جميع المستخدمين وليس فقط المحادثات الفردية. هذا يتيح له متابعة المناقشات الجماعية والرد في السياق.
- /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.
الإشراف بالذكاء الاصطناعي
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:
ملاحظة: كل فحص إشراف يُحتسب كرسالة واحدة من حصة خطتك الشهرية، حتى لو لم يتخذ الذكاء الاصطناعي أي إجراء.
- 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.
الرسائل الاستباقية
يمكن للبوت بدء المحادثات من تلقاء نفسه بنشر رسائل مولّدة بالذكاء الاصطناعي وفق جدول. فعّل هذا في صفحة الإعداد وقم بالتهيئة:
- اسم القناة — القناة التي ينشر فيها البوت (مثال: general, support)
- التكرار — كم مرة: كل ساعتين أو 4 أو 6 أو 12 ساعة أو يومياً أو كل يومين أو أسبوعياً
- المواضيع — ما يجب أن يتحدث عنه البوت. يولّد الذكاء الاصطناعي رسالة جديدة وفريدة في كل مرة بناءً على مواضيعك.
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.