**Welcome to the BrainBot wiki!**

Below is a list of all the commands BrainBot currently understands.

# Commands
## For everyone
### `!commands`
Find your way back to this page

### `!evaluate <arguments>`
Evaluate a math expression

#### Arguments
The first argument for this command should always be the expression to evaluate. If the expression contains variables, a value should be given for each one as a separate argument, in order from left to right in the expression.

If multiple arguments are given, they should be separated by semicolons.

#### Examples
```txt
!evaluate 2+3
Out: 5
```
```txt
!evaluate y+x+y; 3; 2
Out: 8 (3+2+3)
```

### `!intro`
Learn a bit about the bot

### `!phon <text>`
Convert `<text>` into its phonetic spelling

### `!repeat <text>`
Make the bot say `<text>`

### `!topic`
Get a random conversation starter

### `!translate <language> <text>`
Translate some text into another language

#### Arguments
`<language>` should be a two-letter language code ([ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)) and `<text>` should be whatever text you'd like to translate.

### `!version`
Show the currently running version of the bot

### `!emoticon`
Displays a random emoticon

### `!latex <expression>`
Renders specified LaTeX expression

### `!poll [due time/date];<title>;<option1>;<option2>;...`
Creates poll, optionally limited by time.
#### Arguments
##### Due time
Due date/time comes with the following formats:
> `t=HH:MM`
> `d=mm/dd/yyyy HH:MM`
> `m=number of minutes`

Only a single due time is accepted, inserting more than one will result on the rest being considered as the following arguments.

The number of options comes limited by the setting `misc:poll_reactions`

## For bot admins
### `!pull`
Pull the latest changes from GitHub

### `!restart`
Restart the bot

### `!shutdown`
Shut down the bot