mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Add fallback for sticker filename lookup
This commit is contained in:
@ -547,7 +547,7 @@ class StickerFormatType(Enum):
|
||||
StickerFormatType.gif: 'gif',
|
||||
}
|
||||
# fmt: on
|
||||
return lookup[self]
|
||||
return lookup.get(self, 'png')
|
||||
|
||||
|
||||
class InviteTarget(Enum):
|
||||
|
Reference in New Issue
Block a user