diff --git a/bot.py b/bot.py index 5640949..0e7dc33 100644 --- a/bot.py +++ b/bot.py @@ -592,7 +592,7 @@ async def check_data(): messages = [message async for message in channel.history(limit=1)] for mess in messages: channel = mess.channel - with channel.typing(): + async with channel.typing(): asyncio.wait(10) if os.path.getsize(LOGFILE) > 6000000: await channel.send(