修改排行榜,彩虹改成公鸡

This commit is contained in:
liuwei
2025-03-07 17:21:02 +08:00
parent ca748b8e69
commit 152bc0a536

View File

@@ -304,7 +304,7 @@ def show_rank(group_id, player_id):
return {"message": message, "player_id": player_id}
rank_text = f"🎉 群 {group_id} 排行榜Top 10来啦\n"
for i, row in enumerate(ranks, 1):
rank_text += f"🌈 {i}. {row['player_name']}: {row['points']}\n"
rank_text += f"🐓 {i}. {row['player_name']}: {row['points']}\n"
return {"message": rank_text, "player_id": player_id}
finally:
cursor.close()