Skip to content

Commit

Permalink
Add new permission flags (41-49)
Browse files Browse the repository at this point in the history
  • Loading branch information
iHeroGH authored and 4Kaylum committed May 19, 2024
1 parent a3ea3b3 commit 141afb4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions novus/flags/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ class Permissions(Flags):
send_messages_in_threads: bool
use_embedded_activites: bool
moderate_members: bool
view_creator_monetization_analytics: bool
use_soundboard: bool
create_guild_expressions: bool
create_events: bool
use_external_sounds: bool
send_voice_messages: bool
send_polls: bool

CREATE_FLAGS = {
"create_instant_invite": 1 << 0,
Expand Down Expand Up @@ -111,4 +118,11 @@ class Permissions(Flags):
"send_messages_in_threads": 1 << 38,
"use_embedded_activites": 1 << 39,
"moderate_members": 1 << 40,
"view_creator_monetization_analytics": 1 << 41,
"use_soundboard": 1 << 42,
"create_guild_expressions": 1 << 43,
"create_events": 1 << 44,
"use_external_sounds": 1 << 45,
"send_voice_messages": 1 << 46,
"send_polls": 1 << 49
}

0 comments on commit 141afb4

Please sign in to comment.