Add fallback for sticker filename lookup

This commit is contained in:
Rapptz 2023-02-09 16:19:01 -05:00
parent 24b61a71c1
commit 5902324bdf

View File

@ -536,7 +536,7 @@ class StickerFormatType(Enum):
StickerFormatType.lottie: 'json',
}
# fmt: on
return lookup[self]
return lookup.get(self, 'png')
class InviteTarget(Enum):