diff --git a/bot.py b/bot.py index 0d2a4b0..b47b23b 100644 --- a/bot.py +++ b/bot.py @@ -64,6 +64,8 @@ class Core(TasksHandlerMixin): self.send_message('πŸ€– Поиски собСсСдника ΠΏΡ€ΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡŽΡ‚ΡΡ') def send_message(self, text, chat_id=None, reply_markup=None, remove_keyboard=True, method='send_message', **kwargs): + if text is None and not kwargs: + return if reply_markup is None and remove_keyboard: reply_markup = ReplyKeyboardRemove() body = {