KeyError: <discord.ext.commands.context.Context object at 0x7f065403a7f0> code example
Example: how to limit a command to a role in discord.py
@bot.command()
@commands.has_role('RoleName')
async def command_name():
@bot.command()
@commands.has_role('RoleName')
async def command_name():