Add warning message for potential inaccuracies in global leaderboard due to synchronization delays in Leaderboard cog
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run

This commit is contained in:
Valerie 2025-05-26 09:33:25 -04:00
parent 76fd3bf053
commit c15fb8ff47

View file

@ -323,6 +323,9 @@ class Leaderboard(commands.Cog):
if not chunks:
return await ctx.send("No users have 10,000 or more credits!")
# Send warning message first
await ctx.send("⚠️ **Note:** The global leaderboard may be slightly inaccurate due to synchronization delays.")
embeds = []
for page_num, entries in enumerate(chunks, 1):
embed = discord.Embed(