Skip to content

TypeScript code snippet – 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))
See also  Python code snippet - How to generate prime numbers in a bit range ?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.