mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Add fallback for sticker filename lookup
This commit is contained in:
1 parent
24b61a71c1
commit
5902324bdf
1 file changed
+1
-1
+1
-1
@@ -536,7 +536,7 @@ class StickerFormatType(Enum):
|
||||
StickerFormatType.lottie: 'json',
|
||||
}
|
||||
# fmt: on
|
||||
return lookup[self]
|
||||
return lookup.get(self, 'png')
|
||||
|
||||
|
||||
class InviteTarget(Enum):
|
||||
|
||||
Reference in new issue
Block a user