最近の記事

discord.py V2 Cogでサブコマンドを実装する

#main.py #実行するファイルfrom discord.ext import commandsfrom discord import app_commandsimport discordtoken = ""intents = discord.Intents.all()bot = commands.Bot(command_prefix='!', intents=intents)@bot.eventasync def on_ready(): await bot.loa

    discord.py V2 Cogでサブコマンドを実装する