Answers for "get role in command 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

Python Answers by Framework

Browse Popular Code Answers by Language