Explorar el Código

Missed a bot_id

Kirk Trombley hace 6 años
padre
commit
01ec4566b9
Se han modificado 1 ficheros con 1 adiciones y 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