discord bot command arguments code example
Example 1: define args discord
if (!message.content.startsWith(prefix) || message.author.bot) return;
const args = message.content.slice(prefix.length).trim().split(' ');
const command = args.shift().toLowerCase();
Example 2: 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))