gmt2001 / PhantomBot-1

PhantomBot is an actively developed open source interactive Twitch bot with a vibrant community that provides entertainment and moderation for your channel, allowing you to focus on what matters the most to you - your game and your viewers.
https://phantombot.github.io/PhantomBot
GNU General Public License v3.0
1 stars 0 forks source link

Allow default value for command args #130

Closed gmt2001 closed 4 years ago

gmt2001 commented 4 years ago

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

gmt2001 commented 4 years ago

Already exists, but only allows tags to be used. Possible option to allow hard-coded options (maybe just add an echo tag?)