mirror of
https://github.com/house-of-vanity/conf_bot.git
synced 2026-11-08 17:28:50 +00:00
fix
This commit is contained in:
1 parent
77f8534744
commit
684d5b9943
1 file changed
+1
-1
@@ -76,7 +76,7 @@ class MessageWorker:
|
||||
self.send(id=conf_id, msg=msg + ' ```')
|
||||
return True
|
||||
|
||||
first, *middle, last = msg.split()
|
||||
first, *middle, last = msg['message']['text'].split()
|
||||
if first == '@here' or last == '@here':
|
||||
conf_id = msg['message']['chat']['id']
|
||||
user_id = msg['message']['from']['id']
|
||||
|
||||
Reference in new issue
Block a user