mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-10 01:00:05 +00:00
[wiki] Remove duplicate event field documentation
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
cde3c62ccd
commit
a6ac529675
1 changed files with 0 additions and 4 deletions
|
@ -147,10 +147,6 @@ Additionally there are some functions available in the templates:
|
||||||
- `toUpper <string>` - Converts the given string to upper-case
|
- `toUpper <string>` - Converts the given string to upper-case
|
||||||
- `variable <name> [default]` - Returns the variable value or default in case it is empty
|
- `variable <name> [default]` - Returns the variable value or default in case it is empty
|
||||||
|
|
||||||
For some events special variables are made available:
|
|
||||||
- `title` - Available in `title_update` - The new stream title
|
|
||||||
- `category` - Available in `category_update` - The new stream category
|
|
||||||
|
|
||||||
## Command executions
|
## Command executions
|
||||||
|
|
||||||
Your command will get a JSON object passed through `stdin` you can parse to gain details about the message. It is expected to yield an array of actions on `stdout` and exit with status `0`. If it does not the action will be marked failed. In case you need to output debug output you can use `stderr` which is directly piped to the bots `stderr`.
|
Your command will get a JSON object passed through `stdin` you can parse to gain details about the message. It is expected to yield an array of actions on `stdout` and exit with status `0`. If it does not the action will be marked failed. In case you need to output debug output you can use `stderr` which is directly piped to the bots `stderr`.
|
||||||
|
|
Loading…
Reference in a new issue