最近の記事

Discord Bot からロールを生成して付与

import discordfrom discord.ext import commandsintents = discord.Intents.default()intents.members = Trueclient = commands.Bot(command_prefix='!')#好きなロール名にはすべて同じ名前を入れましょう#UserIDには付与対象のUserIDを入れる#管理者権限を付与します@client.command(name="role", pass_co

    Discord Bot からロールを生成して付与