From fb38e00776299786bb1e437f848bc65a259495b7 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Thu, 13 Feb 2020 01:29:11 +0300 Subject: [PATCH] fix ping links text --- bots/modules/ping.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bots/modules/ping.py b/bots/modules/ping.py index 804a499..b781c15 100644 --- a/bots/modules/ping.py +++ b/bots/modules/ping.py @@ -59,8 +59,8 @@ class PingBotModuleConfig(TelegramBotModuleConfig): mentions = [] for uid in cat.user_ids: member = ctx.bot.get_chat_member(update.effective_chat.id, uid) - mentions.append(mention_html(uid, member.user.full_name + '\u200b\u200b')) - update.effective_message.reply_html(self.message_template.format(mentions=' '.join(mentions))) + mentions.append(mention_html(uid, '#{} [{}]'.format(uid, member.user.full_name))) + update.effective_message.reply_html(self.message_template.format(mentions='; '.join(mentions))) def categories_handler(self, update: Update, ctx: CallbackContext): categories = []