Catch if a user has no top scores
This commit is contained in:
parent
e0136bce2f
commit
a45f37324e
|
@ -147,7 +147,7 @@ class Osu:
|
|||
|
||||
scores = await self.api.get_user_best(user.username, limit=limit)
|
||||
entries = []
|
||||
if len(entries) == 0:
|
||||
if len(scores) == 0:
|
||||
await ctx.send("Sorry, but I can't find any scores for you {}!".format(member.display_name))
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue