We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9628358 commit 6f889b0Copy full SHA for 6f889b0
bot.py
@@ -59,7 +59,7 @@ def handle_msg_all(self, msg):
59
if not self.robot_switch:
60
return
61
if msg['msg_type_id'] == 1 and msg['content']['type'] == 0: # reply to self
62
- self.button(msg)
+ self.auto_switch(msg)
63
elif msg['msg_type_id'] == 4 and msg['content']['type'] == 0: # text message from contact
64
self.send_msg_by_uid(self.tuling_auto_reply(msg['user']['id'], msg['content']['data']), msg['user']['id'])
65
elif msg['msg_type_id'] == 3: # group message
0 commit comments