Update regex
This commit is contained in:
parent
36cd593cdc
commit
fb7ecf1537
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -137,7 +137,7 @@ class MatrixClient(nio.AsyncClient):
|
||||||
|
|
||||||
async def process_message(self, message):
|
async def process_message(self, message):
|
||||||
mentions = re.findall(r"(^|\s)(@(\w*))", message)
|
mentions = re.findall(r"(^|\s)(@(\w*))", message)
|
||||||
emotes = re.findall(r":(.*?):", message)
|
emotes = re.findall(r":(\w*):", message)
|
||||||
|
|
||||||
guild = channel.guild
|
guild = channel.guild
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue