Fix bug with mentions not working.
This commit is contained in:
1 parent
ba62bc414e
commit
8c1aa2ccc5
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -212,7 +212,7 @@ class Client(object):
|
||||
if isinstance(mentions, list):
|
||||
return [user.id for user in mentions]
|
||||
elif mentions == True:
|
||||
return re.findall(r'@<(\d+)>', content)
|
||||
return re.findall(r'<@(\d+)>', content)
|
||||
else:
|
||||
return []
|
||||
|
||||
|
||||
Reference in new issue
Block a user