From 39f379407b350cd300cfe3ab1fae064be49e1479 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Sat, 9 Jan 2021 16:05:00 +0800 Subject: [PATCH] send error message --- rssbot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rssbot.py b/rssbot.py index fbf6b41..24e8428 100644 --- a/rssbot.py +++ b/rssbot.py @@ -804,6 +804,8 @@ class callbackQueryHandle(Thread): else: print(mes) self.answer(f'第{ran}条发送失败!{mes}') + self._main._request("sendMessage", "post", { + "chat_id": chatId, "text": f'第{ran}条发送失败!{mes}'}) return elif self._userId is not None and self._inlineKeyBoardCommand == InlineKeyBoardCallBack.ModifyChatId: self._main._db.setUserStatus(