Ver código fonte

Missed a bot_id

Kirk Trombley 6 anos atrás
pai
commit
01ec4566b9
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/rollbot.py

+ 1 - 1
src/rollbot.py

@@ -118,7 +118,7 @@ class Rollbot:
             if response.img is not None:
                 self.post_callback(response.img, message.group_id)
         else:
-            self.post_callback(response.failure_msg, bot_id)
+            self.post_callback(response.failure_msg, message.group_id)
             self.logger.warning(f"Failed command response: {response}")
 
         t = time.time() - t