EDIT so i am trying to make a embed command and it will send a embed given the user input, a user will send the command like `.embed ?d description ?f footer ?i image url
so on
how do i make the options like ?d and ?f optional and the order want matter but it will create the embed on the given options
'example: .embed ?d description : this will create a embed with only a description'
i have already tried but i messed up here is the code https://hatebin.com/uzdsqwtqyw
but this outputs this :
question from:https://stackoverflow.com/questions/65858794/having-optional-args-for-discord-js-embed-command