diff options
| author | Rapptz <[email protected]> | 2017-05-17 19:48:51 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-05-17 19:48:51 -0400 |
| commit | 02d854a99c3d6fb015fbb8bb2f9792e32f05fd39 (patch) | |
| tree | 8dbf643860b4e0a8fe83b9d5193c000d74e1389e | |
| parent | First pass at having a __main__ file. (diff) | |
| download | discord.py-02d854a99c3d6fb015fbb8bb2f9792e32f05fd39.tar.xz discord.py-02d854a99c3d6fb015fbb8bb2f9792e32f05fd39.zip | |
Fix format string in new bot template.
| -rw-r--r-- | discord/__main__.py | 2 |
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() |