1
0
Fork 0
mirror of synced 2024-05-20 20:42:27 +12:00

Use get in case the member doesn't exist

This commit is contained in:
phxntxm 2017-03-15 22:35:44 -05:00
parent 8f488654c5
commit 0c25f4ab6f

View file

@ -64,7 +64,7 @@ class Osu:
if member is None:
member = ctx.message.author
user = self.osu_users[member.id]
user = self.osu_users.get(member.id)
if user is None:
await ctx.send("I do not have {}'s Osu user saved!".format(member.display_name))
return