refactor(constants): use bit-shifts for public flags
This commit is contained in:
parent
87c88f796d
commit
0a8482c030
30
constants.py
30
constants.py
@ -56,21 +56,21 @@ RELOADABLE_MODULES = [
|
||||
"yt_dlp.version",
|
||||
]
|
||||
PUBLIC_FLAGS = {
|
||||
1: "Discord Employee",
|
||||
2: "Discord Partner",
|
||||
4: "HypeSquad Events",
|
||||
8: "Bug Hunter Level 1",
|
||||
64: "HypeSquad Bravery",
|
||||
128: "HypeSquad Brilliance",
|
||||
256: "HypeSquad Balance",
|
||||
512: "Early Supporter",
|
||||
1024: "Team User",
|
||||
16384: "Bug Hunter Level 2",
|
||||
65536: "Verified Bot",
|
||||
131072: "Verified Bot Developer",
|
||||
262144: "Discord Certified Moderator",
|
||||
524288: "HTTP Interactions Only",
|
||||
4194304: "Active Developer",
|
||||
1 << 0: "Discord Employee",
|
||||
1 << 1: "Discord Partner",
|
||||
1 << 2: "HypeSquad Events",
|
||||
1 << 3: "Bug Hunter Level 1",
|
||||
1 << 6: "HypeSquad Bravery",
|
||||
1 << 7: "HypeSquad Brilliance",
|
||||
1 << 8: "HypeSquad Balance",
|
||||
1 << 9: "Early Supporter",
|
||||
1 << 10: "Team User",
|
||||
1 << 14: "Bug Hunter Level 2",
|
||||
1 << 16: "Verified Bot",
|
||||
1 << 17: "Verified Bot Developer",
|
||||
1 << 18: "Discord Certified Moderator",
|
||||
1 << 19: "HTTP Interactions Only",
|
||||
1 << 22: "Active Developer",
|
||||
}
|
||||
BADGE_EMOJIS = {
|
||||
"Discord Employee": "<:DiscordStaff:879666899980546068>",
|
||||
|
Loading…
x
Reference in New Issue
Block a user