correction typing message in on_message
This commit is contained in:
parent
b5c00d5504
commit
5a45012175
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ def main():
|
|||
f.write(message.content + '\n')
|
||||
response = random.choice(lines).replace(str(bot.user.id), str(message.author.id))
|
||||
with message.channel.typing():
|
||||
sleep(len(response))
|
||||
await asyncio.sleep(len(response)/2)
|
||||
await message.channel.send(response)
|
||||
await bot.process_commands(message)
|
||||
|
||||
|
|
Loading…
Reference in a new issue