فهرست منبع

Missed a bot_id

Kirk Trombley 6 سال پیش
والد
کامیت
01ec4566b9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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