Fix format string in new bot template.

This commit is contained in:
Rapptz 2017-05-17 19:48:51 -04:00
parent 8aa04b7084
commit 02d854a99c

View File

@ -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()