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

Corrected what the member was called

This commit is contained in:
Phxntxm 2016-08-19 14:46:52 -05:00
parent cf06356482
commit e9bc5aaab7

View file

@ -83,7 +83,7 @@ class Steam:
stuff_to_print = ['total_kills', 'total_deaths', 'total_wins', 'total_mvps']
stats = "\n".join(
"{}: {}".format(d['name'], d['value']) for d in data['playerstats']['stats'] if d['name'] in stuff_to_print)
await self.bot.say("CS:GO Stats for user {}: \n```\n{}```".format(user, stats.title().replace("_", " ")))
await self.bot.say("CS:GO Stats for user {}: \n```\n{}```".format(member, stats.title().replace("_", " ")))
def setup(bot):