mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-10 15:59:50 +00:00
Fix format string in new bot template.
This commit is contained in:
parent
8aa04b7084
commit
02d854a99c
@ -51,7 +51,7 @@ class Bot(commands.{base}):
|
|||||||
print('Could not load extension {{0}} due to {{1.__class__.__name__}}: {{1}}'.format(cog, e))
|
print('Could not load extension {{0}} due to {{1.__class__.__name__}}: {{1}}'.format(cog, e))
|
||||||
|
|
||||||
async def on_ready(self):
|
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()
|
bot = Bot()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user