Add fallback for sticker filename lookup

This commit is contained in:
Rapptz
2023-02-09 16:20:30 -05:00
parent 24b61a71c1
commit 5902324bdf
+1 -1
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):