mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Add ApplicationFlags.app_commands_badge
This commit is contained in:
@ -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):
|
||||
|
Reference in New Issue
Block a user