Explorar o código

Missed a bot_id

Kirk Trombley %!s(int64=6) %!d(string=hai) anos
pai
achega
01ec4566b9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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