changement afficage not user_data de id a displayname
Some checks failed
Deploy Bot on NAS / deploy (push) Failing after 0s
Some checks failed
Deploy Bot on NAS / deploy (push) Failing after 0s
This commit is contained in:
parent
c7e8ab62be
commit
5adccfa404
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ class MyStats(commands.Cog):
|
||||||
user_data = db_manager.get_user_all_pbs(username)
|
user_data = db_manager.get_user_all_pbs(username)
|
||||||
|
|
||||||
if not user_data:
|
if not user_data:
|
||||||
await ctx.send(f"❌ No data found for **{username}**.")
|
await ctx.send(f"❌ No data found for **{ctx.author.display_name}**.")
|
||||||
return
|
return
|
||||||
|
|
||||||
embed = discord.Embed(
|
embed = discord.Embed(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue