Skip to content

Discord

Updated

Your chatbot as a Discord bot in your community's server, answering with the same knowledge, tools and workflows as on your website.

Before you start, build your chatbot and make it Live under Deploy: it answers only while it is Live. What works in every app, such as signed-in users and what your users can send, is on the Channels page.

Your chatbot becomes a Discord bot. Add it to your community's server and people can mention it in any channel it can read, or reply to one of its answers, and it answers there. Anyone who shares a server with it can also message it directly.

In Discord

  1. Open Discord's developer portal, press New Application and give it your chatbot's name. The icon you set there becomes the bot's picture.
  2. Under Bot, turn on Message Content Intent. ChatFrom's bot asks Discord for it, so without it Discord refuses the connection and the bot never comes online; the Channels page says so. (It is what lets a bot read the text of a reply to it; direct messages and messages that mention it would come through either way.)
  3. Still under Bot, press Reset Token and copy the token.

In ChatFrom

  1. Paste the token under Discord and press Connect Discord. ChatFrom checks it and brings the bot online within a minute.
  2. Press Add it to a server, pick your server and allow it. The link asks only for what the bot needs: to read the channels it is in, send messages, in threads too, and read their history.
  3. In Discord, mention the bot in a channel, or message it directly, to try it.

To stop, press Disconnect in ChatFrom, which removes the bot's token from ChatFrom. Its conversations stay under Conversations until you delete them or they reach the age you set under Settings, Privacy, or 14 days after their last message on the Hobby plan. You can delete the application in the developer portal.

With Visitors can attach files on under Deploy, the chatbot reads a file or a photo sent to it in a direct message (a PDF, text, Markdown or CSV file, or an image). In a server it never reads files.

If your chatbot acts for signed-in users, each user links their Discord account once by sending connect in a direct message. Channels explains what to add to your product.