Browse Source
Fix Intents.emoji and emojis_and_stickers swapped alias decorators
pull/9472/head
Aluerie ❤#6524
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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. |
|
|
|
|
|
|
|