From 02d854a99c3d6fb015fbb8bb2f9792e32f05fd39 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Wed, 17 May 2017 19:48:51 -0400 Subject: [PATCH] Fix format string in new bot template. --- discord/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/__main__.py b/discord/__main__.py index 54b244f36..5f8b0daf0 100644 --- a/discord/__main__.py +++ b/discord/__main__.py @@ -51,7 +51,7 @@ class Bot(commands.{base}): print('Could not load extension {{0}} due to {{1.__class__.__name__}}: {{1}}'.format(cog, e)) async def on_ready(self): - print('Logged on as {{0}} (ID: {{0.id}})'.format(self)) + print('Logged on as {{0}} (ID: {{0.id}})'.format(self.user)) bot = Bot()