Implement on_ready to test if completion ever happens
This commit is contained in:
parent
7ca221adb3
commit
dae89ce4ee
10
bot.py
10
bot.py
|
@ -36,6 +36,16 @@ async def start_typing(ctx):
|
|||
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
|
||||
async def on_command_completion(ctx):
|
||||
author = ctx.author.id
|
||||
|
|
Loading…
Reference in a new issue