> For the complete documentation index, see [llms.txt](https://docs.discordbotstudio.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.discordbotstudio.org/mods/untitled.md).

# Creating Mods

To see current mods, and view an example mod that you can make into your own, follow this link: <https://github.com/discord-bot-studio/mods>

### Mod File Format

#### HTML

The HTML is what will be rendered in the node in Discord Bot Studio. You can use `<select>`, `<input>`, and `<textarea>` to capture input from the user. The `name` attribute will be used to save the input data. This is then made available in the `mod` function as fields on the `action` parameter.

#### Mod

The mod function is where the logic of the mod should be written. There are parameters available for use.&#x20;

The `action` parameter 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.](/files/0cZNPvxWgX7GziqrN1Gt)
