Compare commits
No commits in common. "4b261543ed1cf5d62578a5fff3092c2083dd5e17" and "9990e18982b6a05a78a429801efda58221403f4e" have entirely different histories.
4b261543ed
...
9990e18982
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 not text:
|
if text is None:
|
||||||
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