From 921e3afa9568d028e9cbaeb32c7c1d8def50648d Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Thu, 14 Jul 2016 07:33:17 -0500 Subject: [PATCH] Corrected syntax error --- cogs/overwatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/overwatch.py b/cogs/overwatch.py index f903fd2..557d4c7 100644 --- a/cogs/overwatch.py +++ b/cogs/overwatch.py @@ -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("_", " ")))