Answers for "allow only certain roles to use a command discord.py"

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 "allow only certain roles to use a command discord.py"

Python Answers by Framework

Browse Popular Code Answers by Language