#Discord permissions
1 messages · Page 1 of 1 (latest)
convert to binary
And then?
Discord Developer Portal
Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with.
do some bitshifts or check the nth bit
Can you show me some examples?
Like:
if (int(permissions) & 0x8) == 0x8:
# user as admin perms
if (int(permissions) & 0x20) == 0x20:
# user has manage_guild perms
Thanks 🙏
@real patio use /solved