Answers for "ctx discord py"

0

how to add multiple arguments in discord commands rewrite

@bot.command()
async def args(ctx, arg1, arg2):
    await bot.say('You sent {} and {}'.format(arg1, arg2))
Posted by: Guest on July-07-2020
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

Python Answers by Framework

Browse Popular Code Answers by Language