aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-17 19:48:51 -0400
committerRapptz <[email protected]>2017-05-17 19:48:51 -0400
commit02d854a99c3d6fb015fbb8bb2f9792e32f05fd39 (patch)
tree8dbf643860b4e0a8fe83b9d5193c000d74e1389e
parentFirst pass at having a __main__ file. (diff)
downloaddiscord.py-02d854a99c3d6fb015fbb8bb2f9792e32f05fd39.tar.xz
discord.py-02d854a99c3d6fb015fbb8bb2f9792e32f05fd39.zip
Fix format string in new bot template.
-rw-r--r--discord/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/__main__.py b/discord/__main__.py
index 54b244f3..5f8b0daf 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()