Closed gmt2001 closed 4 years ago
Allow a default value for command args (1),...
(1),...
Example usage: (customapi http://test.com/(1=default))
(customapi http://test.com/(1=default))
https://github.com/gmt2001/PhantomBot-1/blob/d069d19f1f24c19756fd113c68e2ee31036e6b8c/javascript-source/commands/customCommands.js#L154-L162
Already exists, but only allows tags to be used. Possible option to allow hard-coded options (maybe just add an echo tag?)
Allow a default value for command args
(1),...
Example usage:
(customapi http://test.com/(1=default))
https://github.com/gmt2001/PhantomBot-1/blob/d069d19f1f24c19756fd113c68e2ee31036e6b8c/javascript-source/commands/customCommands.js#L154-L162