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
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
This commit is contained in:
parent
76fd3bf053
commit
c15fb8ff47
1 changed files with 3 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue