Currently using Clapp with Discord.js when I ran into a strange issue.
- Say I have a command
foo with a flag that takes in a string, something along the lines of --test <string>,
- Some user inputs
~mybotidentifier foo --test somestring1 --test somestring2.
- The bot crashes, with the error messages pointing me to the _convertType function in App.js in the dist folder
- After messing around with
console.log for a bit in App.js, the error seems to be stemming from arg being an array of strings with no switch case to handle it.
Currently using Clapp with Discord.js when I ran into a strange issue.
foowith a flag that takes in a string, something along the lines of--test <string>,~mybotidentifier foo --test somestring1 --test somestring2.console.logfor a bit in App.js, the error seems to be stemming fromargbeing an array of strings with no switch case to handle it.