mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-12 21:05:22 +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."""
|
read message content in guilds."""
|
||||||
return 1 << 19
|
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()
|
@fill_with_flags()
|
||||||
class ChannelFlags(BaseFlags):
|
class ChannelFlags(BaseFlags):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user