Emilybot: Difference between revisions
From CRC
Created page with "== Commands == Commands can start either with "." or "$" === .add [name] [text] === Creates a new command called "name" with given text. If the command already exists, adds an empty line and appends the text. .add bots * Ema .add bots * IBM .add bots * Spoons Now .bots will output: * Ema * IBM * Spoons === .edit [name] [text] === Changes the text of a command == JavaScript execution == `$ [code]` will execute the code. Or if the code ''itself'' starts with..." |
m Discord category |
||
| Line 19: | Line 19: | ||
== JavaScript execution == | == JavaScript execution == | ||
`$ [code]` will execute the code. Or if the code ''itself'' starts with the `$` then you can just type `$code.blah.etc` and it will also work. | `$ [code]` will execute the code. Or if the code ''itself'' starts with the `$` then you can just type `$code.blah.etc` and it will also work. | ||
[[Category:Discord]] | |||
Latest revision as of 04:46, 27 September 2025
Commands
Commands can start either with "." or "$"
.add [name] [text]
Creates a new command called "name" with given text. If the command already exists, adds an empty line and appends the text.
.add bots * Ema .add bots * IBM .add bots * Spoons
Now .bots will output:
* Ema * IBM * Spoons
.edit [name] [text]
Changes the text of a command
JavaScript execution
`$ [code]` will execute the code. Or if the code itself starts with the `$` then you can just type `$code.blah.etc` and it will also work.
