📜  任务 discord py - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:13.740000             🧑  作者: Mango

代码示例1
import discord
from discord.ext import tasks
client = discord.Client()

# Repeant n seconds
@tasks.loop(seconds = n)
async def looping_function():
    pass

looping_function.start()

client.run()