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 GitHub
parent 646ab85bb6
commit 33243f9bd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.