1
0
Fork 0
mirror of synced 2024-05-19 12:02:29 +12:00

Corrected syntax error

This commit is contained in:
Phxntxm 2016-07-14 07:33:17 -05:00
parent 3e4259307a
commit 921e3afa95

View file

@ -71,7 +71,7 @@ class Overwatch:
#pass
#fmt += "\nTime Played: {}\n".format(g_stats['time_played'])
if hero == "":
await self.bot.say("Overwatch stats for {}: ```py\n{}```".format(user.name, fmttitle().replace("_", " ")))
await self.bot.say("Overwatch stats for {}: ```py\n{}```".format(user.name, fmt.title().replace("_", " ")))
else:
await self.bot.say("Overwatch stats for {} using the hero {}: ```py\n{}``` "
.format(user.name, hero, fmt.title().replace("_", " ")))