fix: regex string was not a raw string
This commit is contained in:
parent
62c2e1deca
commit
8c814890c7
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ EXT_DESCRIPTION = "View animated custom emoji as GIFs"
|
||||||
EXT_SOURCE = "https://git.silvertke.net/SilverTke/endcord-aemoji"
|
EXT_SOURCE = "https://git.silvertke.net/SilverTke/endcord-aemoji"
|
||||||
EXT_COMMAND_ASSIST = (("view_aemoji - View animated emoji", "view_aemoji"),)
|
EXT_COMMAND_ASSIST = (("view_aemoji - View animated emoji", "view_aemoji"),)
|
||||||
|
|
||||||
EMOJI_RE = re.compile("^<:(.+):(\d+)>$")
|
EMOJI_RE = re.compile(r"^<:(.+):(\d+)>$")
|
||||||
|
|
||||||
|
|
||||||
def get_emoji_url(emoji: str) -> str | None:
|
def get_emoji_url(emoji: str) -> str | None:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue