Discord Bot Creator

Discord permissions calculator

Tick what your bot needs to do and copy the permissions integer, or paste an integer you already have to see exactly what it allows.

Free, no sign-in. Runs in your browser; nothing you type is sent to us.

Start from

Pick a common setup, or paste an integer you already have to see what it allows.

Server management

0 of 10

Settings, roles, channels and the audit log

Members

0 of 6

Invites, nicknames and moderation actions

Text channels

0 of 18

Messages, threads, files and reactions

Voice and stage

0 of 13

Joining, speaking and managing voice channels

Events, apps and advanced

0 of 5

Commands, external apps, events and full access

Permissions integer

0
Nothing selected. A bot invited with 0 gets no role of its own.

Invite link

Your application ID is in the Developer Portal, on the General Information page.

https://discord.com/oauth2/authorize?client_id=YOUR_CLIENT_ID&permissions=0&scope=bot%20applications.commands

Open link

How the permissions integer works

Discord stores permissions as a single number. Each permission has its own bit: Create invite is bit 0 (worth 1), View channels is bit 10 (worth 1024), Send messages is bit 11 (worth 2048). Add up the values of everything you want and you have the integer that goes into permissions= in the invite link. This page does the adding with exact big-integer maths, because the newest permissions, like Bypass slowmode at bit 52, are larger than a normal JavaScript number can hold exactly.

When someone adds your bot with that link, Discord creates a role named after the bot with those permissions. A bot can only manage roles that sit below its own highest role, so if it gives or removes roles, a server admin has to drag its role above those roles in Server Settings, Roles.

Start with the least you need. A bot that answers slash commands in one channel needs View channels, Send messages and Embed links. A moderation bot adds Manage messages, Timeout members, Kick and Ban. Leave out Administrator: it hides mistakes during development and turns a leaked token into a disaster.

Questions

What does the permissions number in an invite link mean?

It is a bitfield: each permission is one bit, and the number is all the chosen bits added together. View channels is 1024 and Send messages is 2048, so a bot that only needs those two uses 3072. Discord reads the number and creates a role for the bot with exactly those permissions.

Should my bot ask for Administrator?

Almost never. Administrator turns on every permission and ignores channel overrides, so a leaked token gives a stranger full control of the server. Ask only for what the bot uses. Server owners trust bots that ask for less, and you can always invite again with more later.

Can I change a bot’s permissions after it joins?

Yes. The invite only sets up the bot’s own role. A server admin can edit that role in Server Settings, Roles, or give the bot other roles, at any time. Channel overrides can also allow or deny permissions in specific channels.

What do the 2FA marks mean?

Some permissions, like Ban members or Manage roles, are blocked on servers that require two-factor authentication for moderation unless the bot’s owner (or team owner) has 2FA turned on for their Discord account. Turn on 2FA for the account that owns the bot and they work normally.

The robot holding a shield and a gavel

Need a bot that only asks for what it uses?

Describe it in a sentence. We write the code, work out the permissions it actually needs, and host it for you.