You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import*asappfrom"../app.js"exportdefaultnewapp.Command({name: "hello",channelType: "all",description: "Say hello to a person",positional: [{name: "firstname",description: "First name",},{name: "lastname",description: "Last name",},],asyncrun(message){returnmessage.send(`Hello ${message.args.firstname}${message.args.lastname}`);},})
Its use could look like !hello Camille Abella and scatter the positionables over several lines should be possible, unfortunately the line breaks are not considered by the Yargs parser as valid argument separators.
The text was updated successfully, but these errors were encountered:
If you have the following command type :
Its use could look like
!hello Camille Abella
and scatter the positionables over several lines should be possible, unfortunately the line breaks are not considered by the Yargs parser as valid argument separators.The text was updated successfully, but these errors were encountered: