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 = []