ruLog in to Senler

Discord Connection

A Discord channel connects a Discord bot to a Senler AI project. After connection, messages from the Discord server can be processed in dialogs and passed to the agent.

What to prepare

  • an application and bot in Discord Developer Portal;
  • a Discord bot token;
  • a Discord server where the bot is added;
  • bot permissions to read and send messages in the required channels.

How to connect

  1. Open the section through the Channels item in the side menu and click Add channel.
  2. Select Discord.
  3. Enter the channel name in Senler AI.
  4. Paste the Discord bot token from Discord Developer Portal.
  5. Click "Connect".
  6. Check bot information and channel status.
Discord Connection. Step 1: 1. Discord
1 / 3
1. Discord

After connection

  • check bot info, application ID, and user ID;
  • make sure the bot is added to the required server;
  • assign an agent to process messages;
  • synchronize data if the channel requires it.

If the bot does not see messages

  • check that the bot has been added to the server;
  • check the bot permissions to read channels and send messages;
  • check that the token was not regenerated after connection;
  • check the status of the channel and agent.

Where this is in the interface

Main elements in this section:

  • channel list
  • Channels item in the side menu
  • Add channel button
  • Discord platform selection button
  • channel settings page