disord py bot run command from api call code example
Example 1: how to limit a command to a role in discord.py
@bot.command()
@commands.has_role('RoleName')
async def command_name():
Example 2: unknown amount of arguments discord py
# Include a asterisk (*) before the variable name, eg:
async def repeatback(context, *words):
# Function code