master #7

Merged
emmatveev merged 2 commits from master into dev 2024-11-30 14:45:09 +03:00
Showing only changes of commit c51d151bdc - Show all commits

2
bot.py
View File

@ -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 = {