Designates how the arguments for the command will be accepted
Command arguments are passed in as an object with key-value pairs
User: /command --param1=value --param2=value Copy
User: /command --param1=value --param2=value
Command arguments are passed in as space-separated values
User: /command value1 value2 Copy
User: /command value1 value2
Command arguments are received through standard input
User: /command Bot: What value do you want to specify? User: value Copy
User: /command Bot: What value do you want to specify? User: value
Accepted for only one argument, returns all text from the message
User: /command here is a lot of text that will carry over completely into one argument Copy
User: /command here is a lot of text that will carry over completely into one argument
Generated using TypeDoc
Designates how the arguments for the command will be accepted
Param
Command arguments are passed in as an object with key-value pairs
Example
Param
Command arguments are passed in as space-separated values
Example
Param
Command arguments are received through standard input
Example
Param
Accepted for only one argument, returns all text from the message
Example