From fb7ecf15374065cac1f8e591c383c4e32cdaa584 Mon Sep 17 00:00:00 2001 From: git-bruh Date: Wed, 9 Dec 2020 17:03:40 +0530 Subject: [PATCH] Update regex --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 8f64fbe..e03a759 100644 --- a/main.py +++ b/main.py @@ -137,7 +137,7 @@ class MatrixClient(nio.AsyncClient): async def process_message(self, message): mentions = re.findall(r"(^|\s)(@(\w*))", message) - emotes = re.findall(r":(.*?):", message) + emotes = re.findall(r":(\w*):", message) guild = channel.guild