From 63a696b420ec29e31af778ca0a2b7e4063808324 Mon Sep 17 00:00:00 2001 From: fourtf Date: Sat, 26 Sep 2020 12:49:58 +0200 Subject: [PATCH] is on wiki --- docs/Commands.md | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 docs/Commands.md diff --git a/docs/Commands.md b/docs/Commands.md deleted file mode 100644 index ceaebb831..000000000 --- a/docs/Commands.md +++ /dev/null @@ -1,20 +0,0 @@ -Commands are used as shortcuts for long messages. If a message starts with the "trigger" then the message will be replaced with the Command. - -#### Example -Add Command `Hello chat :)` with the trigger `/hello`. Now typing `/hello` in chat will send `Hello chat :)` instead of `/hello`. - -## Advanced - -- The trigger has to be matched at the **start** of the message but there is a setting to also match them at the **end**. -- Triggers don't need to start with `/` - -#### Using placeholders -- `{1}`, `{2}`, `{3}` and so on can be used to insert the 1st, 2nd, 3rd, ... word after the trigger. - - Example: Add Command `/timeout {1} 1` with trigger `/warn`. Now typing `/warn user123` will send `/timeout user123 1` - -- Similarly `{1+}` and so on can be used to insert all words starting with the 1st, ... word. - - Example: Add Command `Have a {1+} day!` with trigger `/day`. Now typing `/day very super nice` will send `Have a very super nice day!` - -- You can use `{{1}` if you want to send `{1}` literally. \ No newline at end of file