1
0
Fork 0
mirror of synced 2024-09-30 01:06:58 +13: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 not data['playerstats']['success']:
if data['playerstats']['error'] == "Requested app has no stats": if data['playerstats']['error'] == "Requested app has no stats":
await self.bot.say("{} has no achievements on the game {}".format(member.display_name, game)) 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)) await self.bot.say("Sorry, {} has a private steam account! I cannot lookup their achievements!".format(member.display_name))
return return
# Get all achievements for this game, making sure they actually exist # Get all achievements for this game, making sure they actually exist