diff options
Diffstat (limited to 'discord/enums.py')
| -rw-r--r-- | discord/enums.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/discord/enums.py b/discord/enums.py index 871d7e49..fff7a153 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -446,6 +446,11 @@ class ExpireBehaviour(Enum): ExpireBehavior = ExpireBehaviour +class StickerType(Enum): + png = 1 + apng = 2 + lottie = 3 + def try_enum(cls, val): """A function that tries to turn the value into enum ``cls``. @@ -456,8 +461,3 @@ def try_enum(cls, val): return cls._enum_value_map_[val] except (KeyError, TypeError, AttributeError): return val - -class StickerType(Enum): - png = 1 - apng = 2 - lottie = 3 |