Which permissions should your Discord bot ask for?
Tick the permissions a bot needs to get its permissions integer, or paste an integer to see what it grants. Then build an invite link for any application ID.
Paste a number to tick the permissions it contains. Runs in your browser. What you type never leaves this page.
Start from
Selected: 18
Administrator gives every permission and ignores channel overrides. Only grant it to bots you trust.
Bot invite link
Find it in the Discord Developer Portal under General Information.
Invite link
Enter an application ID to build the link.
How Discord permission integers work
Each Discord permission is one bit in a large number. Send Messages is bit 11, Administrator is bit 3, and so on. Add up the bits a bot needs and you get its permissions integer, the number you see in invite links after permissions=. The calculator does that in both directions, with whole numbers too large for normal JavaScript math.
Ask for what the bot uses, nothing more
Server owners read the authorize screen before they click. A bot that asks only for what it uses is easier to trust and does less damage if its token ever leaks. Start from nothing, tick what each feature needs, and add Administrator only when the bot truly has to work past channel overrides.
The permissions a ticket bot needs
The ticket bot preset matches the invite TicketCord builds for its own bots: channel and thread management for ticket channels, roles for per-ticket access, webhooks for logs and transcripts, message permissions for panels and replies, and Administrator so channel overrides never hide a ticket category from the bot. The owner can untick Administrator on Discord's authorize screen and the rest still covers every ticket feature.
Common questions
Tick each permission your bot needs. The calculator adds up their bits and shows the permissions integer to put in the invite link. You can also paste an integer to see which permissions it contains.
It is a bitfield: each permission is one bit, and the number is the sum of the bits that are switched on. Discord reads it to show the list of permissions on the authorize screen.
Discord has more than 50 permissions, so the highest bits are worth more than JavaScript's safe integer limit. The calculator uses big integer math so no permission is lost.
Paste your application ID from the Discord Developer Portal, pick the permissions and copy the link. It uses the bot scope and, when you keep it ticked, the applications.commands scope that slash commands need.
Only when it has to work in channels whose overrides would otherwise hide them from it. Administrator gives every permission, so a leaked token could do anything. Server owners can untick it on the authorize screen.
View Channels, Manage Channels, Manage Roles, Manage Webhooks, Send Messages, Send Messages in Threads, Create Public and Private Threads, Manage Threads, Manage Messages, Pin Messages, Embed Links, Attach Files, Read Message History, Add Reactions, Mention Everyone and Use Application Commands. TicketCord's invite adds Administrator so channel overrides never get in the way.
Yes. Edit the bot's role in Server Settings, Roles, or invite the bot again with a new link. Re-inviting a bot that is already in the server updates its role without removing its settings.
Channel and category overrides can take a permission away in one place, and a bot cannot manage roles that sit above its own role. Drag the bot's role higher in Server Settings, Roles, and check the channel's own permissions.
No. It runs entirely in your browser. Opening the invite link is the only step that talks to Discord.
It lets the bot register slash commands in the server. Without it the bot can join, but its commands do not show up.
Discord account age checker
Turn any Discord ID into the exact date and time it was created, for users, servers, channels and messages.
Discord timestamp generator
Pick a date and time and copy a timestamp that every member sees in their own time zone and language.
Discord message builder
Design a message with Components V2 containers, preview it, then copy the JSON or send it to your own webhook.