How do I force a user to specify at least one input?
I'm working on a bot, and at the moment the bot errors out if the user does not specify any argument. For reference, this is how my command is structured:
This is how I'm validating whether or not an argument has been specified; but strangely this kicks out an error:
How do I fix this?
Solution:Jump to solution
Strangely the issue doesn't appear to be occurring anymore.. will report back if it happens again.
4 Replies
This is the error:
Something expects an object but gets null. Does embedBuilder possibly return it?
embedBuilder
simply returns a MessageEmbed, this works fine for other interaction repliesSolution
Strangely the issue doesn't appear to be occurring anymore.. will report back if it happens again.