Implement on_ready to test if completion ever happens
This commit is contained in:
parent
7ca221adb3
commit
dae89ce4ee
1 changed files with 10 additions and 0 deletions
10
bot.py
10
bot.py
|
@ -36,6 +36,16 @@ async def start_typing(ctx):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
@bot.event
|
||||||
|
async def on_ready():
|
||||||
|
completion = "Ready in: ```\n{}```".format(
|
||||||
|
(pendulum.now(tz="UTC") - bot.uptime).in_words()
|
||||||
|
)
|
||||||
|
await bot.get_guild(214143647447253003).get_channel(214146604519784449).send(
|
||||||
|
completion
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
@bot.event
|
@bot.event
|
||||||
async def on_command_completion(ctx):
|
async def on_command_completion(ctx):
|
||||||
author = ctx.author.id
|
author = ctx.author.id
|
||||||
|
|
Loading…
Reference in a new issue