This commit is contained in:
bakatrouble 2020-02-12 20:24:53 +03:00
parent fdfc06bd71
commit 20eaf1c72b

View File

@ -67,7 +67,7 @@ class PingBotModuleConfig(TelegramBotModuleConfig):
for uid in cat.user_ids: for uid in cat.user_ids:
member = ctx.bot.get_chat_member(update.effective_chat.id, uid) member = ctx.bot.get_chat_member(update.effective_chat.id, uid)
mentions.append(mention_html(uid, member.user.full_name)) mentions.append(mention_html(uid, member.user.full_name))
update.effective_message.reply_markdown(self.message_template.format(mentions=' '.join(mentions))) update.effective_message.reply_html(self.message_template.format(mentions=' '.join(mentions)))
def categories_handler(self, update: Update, ctx: CallbackContext): def categories_handler(self, update: Update, ctx: CallbackContext):
categories = [] categories = []