discord.py command with additional arguments/parameters

23 views Asked by At

I'm trying to make simple command with arguments in discord.py. I want to ensure that by executing a specific command, administrators will be able to authorize themselves with a one-time authorization code generated by their username and individual PIN.

something like: mydcbot.auth foo bar

I'm basing this on this piece of code

if msg.startswith("Bondziorno"):
  await message.channel.send("some text with auth code")
  - other things this command does -

I also understand that this may not be possible

0

There are 0 answers