Programming a Discord bot in Python- How do I make it send a message every day at a certain time?

前端 未结 0 1164
被撕碎了的回忆
被撕碎了的回忆 2021-02-01 09:14

I want to make the bot send a message every day at 1pm. Here\'s my code:

@tasks.loop(hours=24)
async def called_every_day():
    channel = client.get_channel(8004         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题