Discord Bot Invite Link Generator With Permissions
A Discord bot invite link is an OAuth2 URL that holds a bot's client ID, the permissions you grant and the scopes it needs. Enter a client ID, tick the permissions, and this generator builds the official discord.com link and the permissions integer that goes with it.
Permissions integer: 0
How to use it
- Find the client ID. In the Discord Developer Portal, open your application, then General Information. The Application ID is the same number.
- Pick scopes. Keep
botto add a bot user. Keepapplications.commandsif the bot has slash commands. - Tick permissions. Start from a preset, then add or remove what you need. The integer updates live.
- Copy the link and open it. Choose a server where you have Manage Server and press Authorize.
What goes in the link
| Part | Meaning |
|---|---|
client_id | The bot's application ID |
permissions | A number made by adding up each permission's bit value |
scope | What the app may do: add a bot, register slash commands |
The permissions number is a bitfield. Every permission is a power of two, and the integer is their sum. You never need to add it by hand: the tool does it with exact big-number maths, because the values go past what ordinary JavaScript numbers hold safely. To work backwards from a number to a list, use the permissions calculator.
Choose the smallest set that works
Give a bot what its features need and nothing more. Administrator turns every check off, so a bug or a leaked token has no guardrails. Also remember two things Discord enforces on the server side:
- The link only sets the bot's starting role. Channel overrides can still block it.
- A bot cannot manage a role that sits above its own role in the list.
The generator only builds a URL. It does not contact Discord and never sees your bot token. Never paste a token anywhere. The client ID is public.
Adding Noxyr instead
You only need this tool for a bot you made yourself. To add Noxyr, use the invite link. Noxyr asks for a fixed list of permissions rather than Administrator, and the permissions reference says what each one is used for. If you want a bot with your own name and picture, read the custom bot docs.
Troubleshooting
"Integration requires code grant" or an invalid scope
Your bot is set to require OAuth2 code grant in the Developer Portal. Turn that off for a normal bot.
The bot joined but cannot see a channel
Check channel overrides. A deny on the channel beats a role permission from the link.
The server is missing from the list
You need the Manage Server permission on that server to add a bot.
Related reading
The application ID glossary entry explains the number you paste in, and the bot token entry explains why that one stays private. After you add a bot, check Discord's health with the status checker.
Common questions
How do I make a Discord bot invite link?
Use https://discord.com/oauth2/authorize with your client_id, a permissions integer and scopes bot and applications.commands. This tool builds that URL for you.
What does the permissions number mean?
It is the sum of the bit values of every permission you ticked. The tool calculates it, and the permissions calculator can decode it back into a list.
Should I give my bot Administrator?
Only if you fully trust and control it. Granting just the permissions a bot needs limits the damage from a bug or a leaked token.
Does this tool need my bot token?
No. It only needs the public client ID and never makes any network request.