# Options

Options are purple in color and are used for users to input values into the command, which can then be referenced anywhere within the command with the variable {option\_optionname}. Options function when a command is about to be executed, which creates fields to be able to input values into.\
\
Additionally, options are automatically connected to the command when added. They are also only available in commands and aren't required to be in the command.

## Option Blocks

| Block                                                                                                               | Information                                                                                          |
| ------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| [Text Option](https://botghost.com/docs/custom-commands-and-events/options/text-option)                             | The text option block allows for a text value to be input.                                           |
| [Number Option](https://botghost.com/docs/custom-commands-and-events/options/number-option)                         | This block allows a number value to be input.                                                        |
| [User Option](https://botghost.com/docs/custom-commands-and-events/options/user-option)                             | This option allows you to select a user from a list of server members.                               |
| [Channel Option](https://botghost.com/docs/custom-commands-and-events/options/channel-option)                       | This option allows you to select a channel from a list of server channels.                           |
| [Role Option](https://botghost.com/docs/custom-commands-and-events/options/role-option)                             | This option allows you to select a role from your server.                                            |
| [Choice Option](https://botghost.com/docs/custom-commands-and-events/options/choice-option)                         | With this option you are able to select true or false from a dropdown.                               |
| [Attachment Option](https://botghost.com/docs/custom-commands-and-events/options/attachment-option)                 | The attachment option allows you to upload an attachment to the command.                             |
| [Music Smart Search Option](https://botghost.com/docs/custom-commands-and-events/options/music-smart-search-option) | The music smart search option can be used to let users search for music tracks when using a command. |
