From eebf35cc5c90724ae1a9764e9d2b1341ca2b4bb0 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 10 Feb 2022 02:02:25 +0100 Subject: [PATCH] [wiki] Update actor documentation Signed-off-by: Knut Ahlers --- Makefile | 2 +- wiki/Actors.md | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 1f240f8..4a4bbf2 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ node_modules: # --- Wiki Updates actor_docs: - go run . actor-docs >wiki/Actors.md + go run . --storage-file $(shell mktemp).json.gz actor-docs >wiki/Actors.md pull_wiki: git subtree pull --prefix=wiki https://github.com/Luzifer/twitch-bot.wiki.git master --squash diff --git a/wiki/Actors.md b/wiki/Actors.md index 3fc7fae..90c3783 100644 --- a/wiki/Actors.md +++ b/wiki/Actors.md @@ -10,7 +10,7 @@ Ban user from chat attributes: # Reason why the user was banned # Optional: true - # Type: string + # Type: string (Supports Templating) reason: "" ``` @@ -70,8 +70,8 @@ Update counter values counter: "" # Value to add to the counter # Optional: true - # Type: int64 - counter_step: 1 + # Type: string (Supports Templating) + counter_step: "1" # Value to set the counter to # Optional: true # Type: string (Supports Templating) @@ -278,4 +278,8 @@ Timeout user from chat # Optional: false # Type: duration duration: 0s + # Reason why the user was timed out + # Optional: true + # Type: string (Supports Templating) + reason: "" ```