mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Add ApplicationFlags.app_commands_badge
This commit is contained in:
parent
d52bc5d225
commit
dc50736bfc
@ -1417,6 +1417,12 @@ class ApplicationFlags(BaseFlags):
|
||||
read message content in guilds."""
|
||||
return 1 << 19
|
||||
|
||||
@flag_value
|
||||
def app_commands_badge(self):
|
||||
""":class:`bool`: Returns ``True`` if the application has registered a global application
|
||||
command. This shows up as a badge in the official client."""
|
||||
return 1 << 23
|
||||
|
||||
|
||||
@fill_with_flags()
|
||||
class ChannelFlags(BaseFlags):
|
||||
|
Loading…
x
Reference in New Issue
Block a user