aiogram / aiogram/bot

Do not make banned channels' usernames clickable

未关闭
#24 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
282
派生
58
PR 合并指标
30 天内没有已合并 PR

描述

Currently when a channel is banned, it's username is [posted](https://github.com/aiogram/bot/blob/586b368858f657bb9cc73a149d653455b3edec93/aiogram_bot/handlers/simple_admin.py#L42) with leading @, making it clickable, which helps promoting such channels.
I suggest removing the @ symbol so chat user won't be able to open that channel instantly.

Later another rule can be applied which replaces some symbols in usernames with asterisks (*)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。