Answers for "how to make a command only for a certain role discord.py"

1

How to create role discord.py

guild = ctx.guild
await guild.create_role(name="role name")
Posted by: Guest on July-07-2020
0

how to limit a command to a role in discord.py

@bot.command()
@commands.has_role('RoleName')
async def command_name():
Posted by: Guest on June-24-2020

Code answers related to "how to make a command only for a certain role discord.py"

Python Answers by Framework

Browse Popular Code Answers by Language