fix
This commit is contained in:
parent
120b23a885
commit
243b9e8c9c
2
bot.py
2
bot.py
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user