Mods are the best way for user-created content to make its way into DBS.
The HTML is what will be rendered in the node in Discord Bot Studio. You can use
<textarea>to capture input from the user. The
nameattribute will be used to save the input data. This is then made available in the
modfunction as fields on the
The mod function is where the logic of the mod should be written. There are parameters available for use.
actionparameter will have fields with the values that were saved from the user input from the node HTML.
In this example mod you can see that there is a textarea which has name="messageText". That allows us to access action.messagetext from within the mod code.