send error message

This commit is contained in:
2021-01-09 16:05:00 +08:00
parent 78721aae0b
commit 39f379407b

View File

@@ -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(