mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Fix format string in new bot template.
This commit is contained in:
1 parent
8aa04b7084
commit
02d854a99c
1 file changed
+1
-1
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user