Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostiDrinks committed Nov 3, 2024
1 parent a288eaa commit d6b2ef6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,8 @@ async def top(ctx: Context) -> str | None:
else:
# no player provided, use self
user = await users_repo.fetch_one(id=ctx.player.id)
if not user:

if user is None:
return "Player not found."

# !top rx!std
Expand Down

0 comments on commit d6b2ef6

Please sign in to comment.