yepcord / server

Unofficial discord backend implementation in python.
GNU Affero General Public License v3.0
2 stars 1 forks source link

check message for sticker #146

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

https://api.github.com/yepcord/server/blob/43da203a684868ca2402033d9aca6c9dbb21f846/src/yepcord/classes/message.py#L184


        "file": "JSON_LENGTH(`j_attachments`) > 0",
        "embed": "JSON_LENGTH(`j_embeds`) > 0",
        "sound": "true in (select content_type LIKE '%audio/%' from attachments where JSON_CONTAINS(messages.j_attachments, attachments.id, '$'))",
        # "sticker": "" # TODO: check message for sticker
    }

    def __post_init__(self):
github-actions[bot] commented 1 year ago

Closed in ebc034e74f8ed5d751d2b17f8b6ffaccee2757e3