diff --git a/task.py b/task.py index d5b1e10..40a1e51 100644 --- a/task.py +++ b/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}"