Merge pull request 'fix' (#9) from master into dev
Reviewed-on: https://gitea.sprinthub.ru/self/roulette-bot/pulls/9
This commit was merged in pull request #9.
This commit is contained in:
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()
|
||||
|
||||
Reference in New Issue
Block a user