add reply informations from bot message
This commit is contained in:
3
main.py
3
main.py
@@ -58,11 +58,12 @@ async def say_hello(ctx):
|
||||
async with ctx.typing():
|
||||
log.info('Start say_hello function')
|
||||
await ctx.message.add_reaction('🤔')
|
||||
await ctx.send(f'Hello, <@{ctx.author.id}>!')
|
||||
reply = await ctx.send(f'Hello, <@{ctx.author.id}>!')
|
||||
print(ctx.guild)
|
||||
print(ctx.message.content)
|
||||
print(ctx.message)
|
||||
print(ctx.author)
|
||||
print(reply)
|
||||
await aio.sleep(random.randint(1,5))
|
||||
await ctx.message.remove_reaction('🤔', bot.user)
|
||||
if random.randint(1,100) < 10:
|
||||
|
||||
Reference in New Issue
Block a user