How to make python discord bot use a command every minute

后端 未结 0 1986
傲寒
傲寒 2021-02-14 03:19

I want my python discord bot to use a command every minute.

Currently I have set it up like this:

@tasks.loop(seconds=10)
async def mytask():
    channel =         


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