Skip to content

Commit 2b42553

Browse files
committed
fix: errant unicode breakage
1 parent 36fbf7f commit 2b42553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/models/discord/emoji.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
__all__ = ("PartialEmoji", "CustomEmoji", "process_emoji_req_format", "process_emoji")
2424

2525
emoji_regex = re.compile(r"<?(a)?:(\w*):(\d*)>?")
26-
unicode_emoji_reg = re.compile(r"[^\w\s,``“”…-—•◦‣-*⁏⁒~⁺⁻⁼⁽⁾ⁿ₊₋₌₍₎]")
26+
unicode_emoji_reg = re.compile(r"[^\w\s,’‘“”…—•◦‣⁃⁎⁏⁒⁓⁺⁻⁼⁽⁾ⁿ₊₋₌₍₎]") # noqa: RUF001
2727

2828

2929
@attrs.define(eq=False, order=False, hash=False, kw_only=False)

0 commit comments

Comments
 (0)