Compare commits
2 Commits
9990e18982
...
4b261543ed
Author | SHA1 | Date | |
---|---|---|---|
4b261543ed | |||
243b9e8c9c |
2
bot.py
2
bot.py
@ -64,7 +64,7 @@ class Core(TasksHandlerMixin):
|
||||
self.send_message('🤖 Поиски собеседника продолжаются')
|
||||
|
||||
def send_message(self, text, chat_id=None, reply_markup=None, remove_keyboard=True):
|
||||
if text is None:
|
||||
if not text:
|
||||
return
|
||||
if reply_markup is None and remove_keyboard:
|
||||
reply_markup = ReplyKeyboardRemove()
|
||||
|
Loading…
Reference in New Issue
Block a user