1
0
Fork 0
mirror of synced 2024-06-28 19:20:34 +12:00

Corrected syntax error

This commit is contained in:
Phxntxm 2016-08-19 18:33:30 -05:00
parent 846b29c1f3
commit 804bc3ad8b

View file

@ -159,7 +159,7 @@ class Steam:
if not data['playerstats']['success']:
if data['playerstats']['error'] == "Requested app has no stats":
await self.bot.say("{} has no achievements on the game {}".format(member.display_name, game))
elif data['playerstats']['error'] == "Profile is not public"
elif data['playerstats']['error'] == "Profile is not public":
await self.bot.say("Sorry, {} has a private steam account! I cannot lookup their achievements!".format(member.display_name))
return
# Get all achievements for this game, making sure they actually exist