fix noname users
This commit is contained in:
parent
d61f9bb6e4
commit
5e920255d3
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user