Fix Intents.emoji and emojis_and_stickers swapped alias decorators

This commit is contained in:
Aluerie ❤#6524 2023-06-27 16:01:56 -07:00 committed by Rapptz
parent 2a9640b516
commit 0c2698cf28

View File

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