How to Build an AI Discord Bot in 2026

Build an AI Discord bot with no code: create a character, connect it to Discord, add voice, Free Will and moderation.

GoldRbxia
Founder & CEO, AurInfer Labs
Updated 8 min read
On this page12
How to Build an AI Discord Bot in 2026

Key Takeaways

  • Create a character on AurInfer, make a Discord application with the Server Members and Message Content intents, paste the bot token into AurInfer and invite the bot. No code or hosting needed.
  • The bot replies to mentions, the /ask command and Always reply channels; /reload applies setting changes.
  • Live voice via /join needs Spark ($4.99/mo, no free trial) or higher; Free Will and moderation are opt-in and best started conservatively.
  • Test in a private channel and use the troubleshooting table for token, intent, permission and voice issues.

You can build an AI Discord bot without code by creating a character on AurInfer, making a bot application in Discord's Developer Portal, pasting its token into AurInfer and inviting the bot to your server. AurInfer runs the bot for you afterwards, so there is nothing to host and no dashboard to keep open. This guide covers each stage, then voice calls, autonomous behavior, moderation and troubleshooting.

What you need first

  • A free AurInfer account at labs.aurinfer.com.
  • A Discord server where you have the Manage Server permission.
  • Your Discord account linked to AurInfer under Settings, Account & Security, Connected accounts. Until you do, the Server section of the character's sidebar stays locked.

Standalone apps like Character.ai keep people inside their own website. A bot in your server meets members where they already are, and it can join voice channels, welcome newcomers and enforce rules.

Step 1: Create the character

Start with the personality, since the bot is only as good as the character behind it. AurInfer offers two routes.

Generate with Prompt is the quick one. Type a name and a few sentences, such as "a sarcastic ship's engineer who loves fixing things and hates being rushed", optionally click Refine, then Generate. AI writes the personality, background, example conversations and instructions, and makes the pictures.

Advanced Creation gives you control over four steps: profile (picture, name, age and three to five tags), AI brain (model, language, timezone, behavior instructions), personality (public description, tone, traits) and a final review. Characters must be 18 or older, and each submission goes through an automatic guideline check that usually takes under a minute.

Everything can be edited later, so a rough draft is fine. Two habits help on Discord:

  • Write the behavior instructions like a brief for a new host: who the character is, how long replies should be, what it should refuse.
  • Match the tone to the community. A Witty character suits a gaming server, a Professional one a study group.

The character must be approved before it can connect to Discord. The AI character creator page shows more of what you can shape.

Step 2: Create the Discord application

Every Discord bot belongs to an application you own. In AurInfer, open the character, choose Select Integration and click Set Up next to Discord. Then, in the Developer Portal:

  1. Click New Application. Its name becomes the bot's name, so use the character's name.
  2. Open the Bot tab.
  3. Under Token, click Reset Token, confirm and copy it.
  4. Scroll to Privileged Gateway Intents and turn on both Server Members Intent and Message Content Intent. Save.

Both intents are required. Message Content lets the character read what people write, and Server Members lets it notice things like new joiners. If either is off, AurInfer shows "Missing required intents" and the bot isn't created.

Treat the token like a password and never post it. If it leaks, reset it in the Developer Portal and update it on the bot's settings page.

Step 3: Connect and invite

Paste the token into Discord Bot Token, tick the agreement box and click Create Integration. A "Setting up your bot" screen runs for a minute or two, then you see "Your bot is live". The bot takes the character's picture and banner automatically.

Now invite it:

  1. Click Invite to Discord.
  2. Choose a server where you hold Manage Server.
  3. Review the permissions and click Authorize.
  4. In a channel it can see, type @YourCharacter hi!

If it answers, the hard part is finished. The invite asks for everyday permissions plus the voice ones. It leaves out kick, ban and timeout rights, which you add yourself only if you want moderation.

Step 4: Choose when it replies

By default the bot does not answer every message. It replies when:

Step 4: Choose when it replies
TriggerWhat happens
Someone mentions it@YourCharacter plus a question
Someone runs /askA question without pinging the bot
A message lands in an Always reply channelThe bot answers every message there

You set the allowed channels and the Always reply channels under Channel Behavior on the Server Overview page. A common layout is a single #talk-to-the-bot channel with Always reply on, while everywhere else the bot answers only when mentioned.

Direct messages are managed on the bot's settings page: leave them open, close them, or keep an allow list of people who can DM the character.

Two other commands are worth knowing. /reload refreshes the character's instructions, personality and engines without a restart, so run it after editing anything. /leave sends it out of a voice channel.

Step 5: Add live voice

Open Voice Engine in the character's sidebar and create a voice: pick a model, name it, choose a language and upload one to five clean audio samples (MP3 or WAV, 10 seconds to 5 minutes each). One speaker with no background music works best, and you should only use voices you own or have permission to use.

Then in Discord:

  1. Join a voice channel.
  2. In a text channel, run /join.
  3. Speak normally. The character listens and answers out loud in its own voice.
  4. Run /leave when finished.

Live voice calls need Spark or higher. Spark is $4.99/mo with no free trial and includes 60 minutes of calls a week, up to 15 a day. Voice time counts only while the character is speaking, so listening and silence are free. Higher plans raise the allowance and Galaxy Pass is unlimited; the Free plan covers text only. See the pricing page to compare.

For the voice processing engine, start with the fastest one that still sounds like your character, because in conversation a quick reply beats a long one. After changing an engine or voice setting mid-call, run /leave then /join. The AI voice calls for Discord page shows the experience, and the Voice Engine docs cover every setting.

Step 6: Let it act on its own with Free Will

A bot that only answers pings feels like a tool. With Free Will on, the character can join conversations it finds relevant, start topics, mirror reactions members are already using and post in quiet channels.

Open Server, then Free Will. The wizard asks for:

  • A style: Lurker, Conversationalist, Entertainer, Helper or Custom. Conversationalist is the recommended starting point.
  • An engagement level: Passive, Balanced or Active. Busy servers do best with Passive or Balanced.
  • Optional trigger words, such as the character's name and nicknames.

Then set guardrails. Use the Channels page to limit it to a couple of rooms, keep Ignore Other Bots on so two bots can't loop, and begin with a high Threshold and a low Daily Limit. Loosen both once you've watched it for a few days. Free Will works on every plan, though the free tier caps how many unprompted messages it sends daily.

Step 7: Add moderation

The same character can enforce your rules. Go to Server, Moderation, click Enable Moderation and paste in your rules. Without rules it falls back to Discord's own guidelines.

  • Strictness: Lenient for severe violations only, Moderate for most servers, Strict for tight control.
  • Warning ladder: choose which of warn, timeout, kick and ban are allowed. New setups warn first, then escalate as warnings add up.
  • Mod log channel: a private channel where every action is posted with its reason.
  • Exclusions: add your staff roles so moderators are never warned.

Because the invite link excludes moderation permissions, give the bot's role Manage Messages, Timeout Members, Kick Members and Ban Members in Server Settings, and drag that role above the ones it must act on. Discord blocks bots from acting on higher roles. The Discord AI moderation page and our post on how AI moderation is changing Discord servers explain the approach, and the moderation docs list every option.

Test it and fix common problems

Before announcing the bot, spend ten minutes in a private channel: mention it, run /ask, try an Always reply channel, hold a short voice call and trigger one rule on a spare account. If something is off, check this table.

Test it and fix common problems
SymptomWhat to check
Bot shows offlineWait a few minutes after setup, then confirm Status is on in Bot Settings
Invalid Discord tokenCopy a fresh token from the Bot tab; resetting invalidates the old one
Missing required intentsTurn on both privileged intents, save and reconnect
No reply in one channelCheck Channel Behavior, then the bot role's view and send permissions in that channel
Won't join voiceNeeds Spark or higher, voice time left, and Require Administrator off in Voice Preferences for non-admins
Changes seem ignoredRun /reload, and /leave then /join for voice changes

On the Free plan, a bot that gets no messages for 7 days pauses itself. Switch it back on in Bot Settings; paid plans are never paused for inactivity.

Key takeaways

  • Create and get approval for the character first.
  • Make a Discord application, enable Server Members and Message Content intents, and paste the token into AurInfer.
  • Invite the bot, then pick where it answers: mentions, /ask and Always reply channels.
  • Live voice with /join needs Spark ($4.99/mo, no free trial) or higher.
  • Free Will and moderation are opt-in, so start cautious and loosen gradually.
  • Run /reload after changes and test in a private channel first.

Curious what the finished result looks like? Try the Discord preview, read about the future of autonomous AI characters, or start building at labs.aurinfer.com.

Frequently Asked Questions

Do I need to code to build an AI Discord bot?

No. You create a character on AurInfer, make a bot application in the Discord Developer Portal, paste its token into AurInfer and invite the bot. AurInfer runs the bot, so you don't host anything or keep the dashboard open.

Which Discord intents does the bot need?

Both Server Members Intent and Message Content Intent must be turned on in the Bot tab of the Developer Portal. If either is off, AurInfer shows a Missing required intents message and the integration isn't created.

Does the bot reply to every message in my server?

No. By default it replies to mentions and the /ask command. It answers every message only in channels you add to Always reply, and with Free Will on it can also join conversations on its own within limits you set.

Can my AI Discord bot talk in voice channels?

Yes. Create a voice in the Voice Engine, join a voice channel and run /join. Live voice calls need Spark ($4.99/mo, no free trial) or higher, and Spark includes 60 minutes of calls a week, up to 15 minutes a day.

Can the bot moderate my server?

Yes. Enable Moderation, add your rules, choose a strictness level and which actions (warn, timeout, kick, ban) it may use. The invite doesn't include moderation permissions, so add them to the bot's role yourself and place that role above the roles it must act on.

Why does my bot show as offline or not reply?

A new bot can take a few minutes to come online. Check the Status switch in Bot Settings, make sure the token is current and both intents are on, and confirm the bot's role can view and send messages in that channel. On the Free plan, a bot with no messages for 7 days is paused automatically.

Topics
Tutorial
Discord
Guide
Written by
GoldRbxia
Founder & CEO, AurInfer Labs
Share on X

More From AurInfer Labs

Related guides and breakdowns

Create your very own AI characters

It's simple, fast and free to start. Build personalized characters with custom personalities and image generation on the Free plan, then give them a custom voice and live Discord voice calls from Spark at $4.99/month.

Learn the step-by-step process to bring your character ideas to life in under 60 seconds