Home>

I want to make the bot send a message every 10 seconds, trying to remake the code, but it doesn't work. I use the discord.py library. Here is what I have:


@tasks.loop(seconds=10)
async def notify_task():
    await bot.wait_until_ready()
    print('Hello')
notify_task.start()```