modified: bot.py
This commit is contained in:
4
bot.py
4
bot.py
@@ -514,7 +514,7 @@ async def level(ctx):
|
||||
|
||||
embed = discord.Embed(
|
||||
title="Level",
|
||||
description=f"Du bist auf Level {level}.\nDu hast {xp}/{required_xp} XP.",
|
||||
description=f"You are at level {level}.\nYou have {xp}/{required_xp} XP.",
|
||||
color=0x3498db
|
||||
)
|
||||
await ctx.send(embed=embed)
|
||||
@@ -531,7 +531,7 @@ async def leaderboard(ctx):
|
||||
cursor.close()
|
||||
connection.close()
|
||||
|
||||
embed = discord.Embed(title="Level Rangliste", color=0x3498db)
|
||||
embed = discord.Embed(title="Level Leaderboard", color=0x3498db)
|
||||
|
||||
for idx, user_data in enumerate(top_users, start=1):
|
||||
user = client.get_user(user_data["user_id"])
|
||||
|
||||
Reference in New Issue
Block a user