discord.ext.commands.errors.ExtensionFailed: Extension 'commands.switch' raised an error: ClientException: Command turn is already registered. code example
Example: how to limit a command to a role in discord.py
@bot.command()
@commands.has_role('RoleName')
async def command_name():