Browse Source

Fix Intents.emoji and emojis_and_stickers swapped alias decorators

pull/9472/head
Aluerie ❤#6524 2 years ago
committed by GitHub
parent
commit
33243f9bd6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      discord/flags.py

4
discord/flags.py

@ -850,7 +850,7 @@ class Intents(BaseFlags):
"""
return 1 << 2
@flag_value
@alias_flag_value
def emojis(self):
""":class:`bool`: Alias of :attr:`.emojis_and_stickers`.
@ -859,7 +859,7 @@ class Intents(BaseFlags):
"""
return 1 << 3
@alias_flag_value
@flag_value
def emojis_and_stickers(self):
""":class:`bool`: Whether guild emoji and sticker related events are enabled.

Loading…
Cancel
Save