Discord Permissions Calculator

Calculate Discord permission integers and decode Discord permission values for roles and bots.

Discord Permissions

Select permissions to generate a Discord permission integer.

Permission Integer
0

Frequently Asked Questions

Common questions about Discord permissions and permission integers.

What is a Discord permission integer?

A Discord permission integer is a numeric value that represents one or more permissions. Discord combines selected permissions into a single number called a bitfield, which is used throughout the API and OAuth bot invites.

How do Discord permissions work?

Each Discord permission has a unique value. When multiple permissions are selected, Discord combines them into a single integer that can be stored, transmitted, and interpreted by Discord applications.

What permission integer is Administrator?

The Administrator permission has a value of 8. Bots or roles with Administrator bypass all channel permission checks and effectively have full access within the server.

How do I create a Discord bot invite link?

Discord bot invite links include a permissions parameter. This tool helps you generate the correct permission integer to use when creating OAuth2 bot invite URLs.

Should my bot use Administrator?

In most cases, no. It's recommended to request only the permissions your bot actually needs. This follows Discord's principle of least privilege and improves security for server owners.

What are bitfields?

Discord stores permissions as bitfields, where each permission occupies a specific bit position. Combining permissions creates a single integer that Discord can efficiently process.

Why are Discord permission numbers so large?

Discord continues to add new permissions over time. Since each permission occupies its own bit, modern permission integers can become very large, often exceeding standard 32-bit integer limits.

Can I calculate permissions for roles too?

Yes. Discord uses the same permission system for both bot invites and server roles. This calculator can be used to understand permissions in either context.