Update custom emote regex (again)
This commit is contained in:
parent
377158c3ad
commit
c321efa8f7
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class AutoReactCog(commands.Cog):
|
|||
self.bot = bot
|
||||
config = get_config()
|
||||
self.db = DBManager(config.mongo).mongo
|
||||
self.custom_emote = re.compile(r"^<:[A-Za-z0-9_-]:([0-9]+)>$")
|
||||
self.custom_emote = re.compile(r"^<:[A-Za-z0-9_-]+:([0-9]+)>$")
|
||||
self.standard_emote = re.compile(
|
||||
r"^[\U0001F100-\U000E007F]{0,}[\u200d-\ufe0f]{0,}?[\U0001F100-\U000E007F]{0,}?$"
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue