fix a bug
This commit is contained in:
parent
5cf0482b42
commit
24956305c5
2
task.py
2
task.py
@ -140,7 +140,7 @@ def generate(group):
|
||||
# 默认展示前5位,少于5个则全部展示
|
||||
for i in range(min(5, len(user_message_amount))):
|
||||
dis_name = str(user_message_amount[i][0])
|
||||
top_5_user += "\t\t\t\t\t\t\t\t" + "🎖 `" + dis_name[:min(8, len(dis_name))] + "`" + " 贡献:" + str(
|
||||
top_5_user += "\t\t\t\t\t\t\t\t" + "🎖 `" + dis_name[:min(10, len(dis_name))] + "`" + " 贡献:" + str(
|
||||
user_message_amount[i][1]) + "\n"
|
||||
# print(top_5_user)
|
||||
text += f"🏵 今日活跃用户排行榜:\n\n{top_5_user}"
|
||||
|
Loading…
Reference in New Issue
Block a user