master #11

Merged
emmatveev merged 11 commits from master into prod 2024-11-30 15:16:16 +03:00
Showing only changes of commit 243b9e8c9c - Show all commits

2
bot.py
View File

@ -64,7 +64,7 @@ class Core(TasksHandlerMixin):
self.send_message('🤖 Поиски собеседника продолжаются') self.send_message('🤖 Поиски собеседника продолжаются')
def send_message(self, text, chat_id=None, reply_markup=None, remove_keyboard=True): def send_message(self, text, chat_id=None, reply_markup=None, remove_keyboard=True):
if text is None: if not text:
return return
if reply_markup is None and remove_keyboard: if reply_markup is None and remove_keyboard:
reply_markup = ReplyKeyboardRemove() reply_markup = ReplyKeyboardRemove()