Skip to content

Improve handling of unknown sticker format types if possible #1918

@github-actions

Description

@github-actions

Line: 629

pycord//discord/enums.py

Lines 626 to 636 in 08af163

StickerFormatType.lottie: "json",
StickerFormatType.gif: "gif",
}
# TODO: Improve handling of unknown sticker format types if possible
return lookup.get(self, "png")
class InviteTarget(Enum):
"""Invite target"""
unknown = 0

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions