From 5e920255d32611b6eec73c08e905ff7153687f1b Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Thu, 13 Feb 2020 01:27:06 +0300 Subject: [PATCH] fix noname users --- bots/modules/ping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/modules/ping.py b/bots/modules/ping.py index fe60376..804a499 100644 --- a/bots/modules/ping.py +++ b/bots/modules/ping.py @@ -59,7 +59,7 @@ 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)) + mentions.append(mention_html(uid, member.user.full_name + '\u200b\u200b')) update.effective_message.reply_html(self.message_template.format(mentions=' '.join(mentions))) def categories_handler(self, update: Update, ctx: CallbackContext):