Skip to main content

Discord Setup Guide

Your character runs on Discord through a bot application that you create in Discord’s Developer Portal. You make the application, copy its token, and paste the token into AurInfer. AurInfer then runs the bot as your character. The whole setup takes a few minutes.

Before you start

  • You own the character, or have access to it through a team.
  • The character is approved. A character that’s still pending review, or was rejected, can’t be connected yet. See Create a character.
  • Your Discord account is connected to AurInfer. If it isn’t, the setup page shows Link Your Discord Account. Click Connect Discord to go to Settings → Account & Security → Connected accounts, connect Discord there, then come back.
To start, open the character on labs.aurinfer.com. In the sidebar, open Select Integration and click Set Up next to Discord. You can also click Connect to Discord on the character’s public page. On the page that opens, click Integrate with Discord. The setup has four steps: Create App, Intents, Connect and Setup. You can also set up the Discord bot in the AurInfer Android app. See the Android app.

1. Create a Discord application

1

Open the Developer Portal

Go to the Discord Developer Portal and sign in with your Discord account.
2

Create the application

Click New Application, give it a name and accept Discord’s terms. This name becomes your bot’s name in Discord, so use your character’s name.
3

Open the Bot tab

In the menu on the left, click Bot.
4

Copy the token

Under Token, click Reset Token, confirm, and copy the token that appears. Keep it somewhere safe for step 3.
Your bot token works like a password for your bot. Never share it or post it anywhere. If it leaks, reset it in the Developer Portal and update it in Bot Settings.
When you’re ready, click Next in AurInfer.

2. Turn on the privileged intents

Your bot needs two of Discord’s privileged intents to read messages and see server members. Stay on the Bot tab in the Developer Portal, scroll to Privileged Gateway Intents and turn on:
  • Server Members Intent, so your character can see members, for example when someone joins
  • Message Content Intent, so your character can read what people write
Save your changes in the Developer Portal, then click I’ve enabled them in AurInfer. AurInfer checks both intents when you connect the bot. If either one is off, you see Missing required intents and the integration isn’t created.
Discord requires bots in 100 or more servers to be verified, and to be approved for privileged intents. If your bot grows that far, follow Discord’s verification process in the Developer Portal.

3. Connect your bot

1

Paste the token

Paste the token you copied into Discord Bot Token. Make sure there are no extra spaces before or after it.
2

Accept the terms

Tick the box to agree to the Terms of Service and Privacy Policy and to confirm that your character follows the Community Guidelines.
3

Create the integration

Click Create Integration.

4. Wait for setup to finish

AurInfer connects your character to Discord and starts the bot. You see Setting up your bot while this happens, which usually takes a minute or two. When it’s done, you see Your bot is live!. Click Finish Setup. AurInfer also sets up a few things on your bot:
  • its avatar and banner, taken from your character’s profile picture and banner
  • its About Me, set to Made w/ https://discord.gg/aurinfer
  • a starting activity status, which you can change on the Bot Profile
  • an aurinfer emoji in your bot’s Application Emojis
A welcome window then suggests your next steps: Invite Bot to Server and Customize Bot’s Profile.

5. Invite the bot to your server

1

Click Invite to Discord

Click Invite Bot to Server in the welcome window, or Invite to Discord at the top of Bot Settings.
2

Pick a server and authorize

Choose a server where you have the Manage Server permission, then click Authorize.
3

Say hello

Mention your character in a text channel, for example @YourCharacter hi!, and it replies.
To see which permissions the invite asks for, see Invite your character to a server.
In the Developer Portal, the Public Bot switch on the Bot tab decides whether people other than you can add your bot to their servers. Leave it on if you want others to invite your character from its public page.

Next steps

Choose your server

Pick the server to manage and choose the channels your character replies in.

Customize the bot's profile

Set its activity status and About Me.

Welcome new members

Have your character greet people who join.

Moderation and Free Will

Let your character enforce rules, and see Free Will to let it act on its own.

Bot token, status and instance

After setup, you manage these on Bot Settings:

Troubleshooting

Copy the token again from the Bot tab and paste it without extra spaces. If you’ve reset the token since you copied it, the old one no longer works.
Turn on both Server Members Intent and Message Content Intent on the Bot tab in the Developer Portal, save, and click Create Integration again.
If you deleted the integration for this bot a moment ago, wait the number of minutes shown and try again. Your other settings aren’t lost.
The bot couldn’t be started in time. Click Reconfigure to try again, or Contact Support if it keeps happening.
A new bot can take a few minutes to come online. If it’s still offline after about five minutes, check that Status is on in Bot Settings, then try connecting it again. Contact support if it still doesn’t come online.