message and chat input command with arguments
I want to register same command as message command and chatInput command with arguments, is there an example of how to use same reply function for both messageRun and chatInputRun in this case ?
Solution
you parse arguments and options individually for chat input and message run and then send the parsed values to a shared function
