소스 검색

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