📜  导入不和谐 - Python 代码示例

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

代码示例2
import discord
from discord.ext import commands
import music

cogs = [music]

client = commands.Bot(command_prefix='//', intents=discord.Intents.all())

for i in range(len(cogs)):
    cogs[i].setup(client)


client.run("OTA0ODg0OTc0MTI0MTQyNjM0.YYCBzQ.UGlEhsy6SttfGNpms_VP1ZlVjdk")