Exactly what the title says. I have someone abusing a certain command that I would like to restrict a role that they have from using said command. Is there a ay to do that? and if so, can someone please write the example code?
under the decorator for your command (@bot.command()) use @commands.has_role("roleName") to limit the command to only that role.
Is there a way for me to disable a command for a certain role in discord.py?