mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-12 06:25:47 +00:00
Add fallback for sticker filename lookup
This commit is contained in:
parent
24b61a71c1
commit
5902324bdf
@ -536,7 +536,7 @@ class StickerFormatType(Enum):
|
|||||||
StickerFormatType.lottie: 'json',
|
StickerFormatType.lottie: 'json',
|
||||||
}
|
}
|
||||||
# fmt: on
|
# fmt: on
|
||||||
return lookup[self]
|
return lookup.get(self, 'png')
|
||||||
|
|
||||||
|
|
||||||
class InviteTarget(Enum):
|
class InviteTarget(Enum):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user