diff --git a/docs/Custom Reactions.md b/docs/Custom Reactions.md index a4c39f29..584ef43c 100644 --- a/docs/Custom Reactions.md +++ b/docs/Custom Reactions.md @@ -1,21 +1,70 @@ -**After you add/delete custom commands, you should restart the bot. (either by typing `.restart` if you are on WINDOWS or just manually restarting if you prefer/are on other platform)** +
Every time you add or remove a custom reaction you will need to restart your bot with either .restart
if you are hosting or Nadeko is on VPS, or .die
if Nadeko is on Droplet
.acr
, .dcr
, and .ecr
Require you to be Bot OwnerCommand Name | +Description | +Example | +
---|---|---|
.acr |
+Adds a Custom Reaction | +.acr Hello Hi! |
+
.dcr |
+Deletes an entire Custom Reaction or a Specified Response Index Number | +.dcr "command name" or .dcr "command name" 3 |
+
.lcr |
+Lists a specified page of Custom Commands | +.lcr Number i.e .lcr 2 |
+
.scr |
+Shows all responses to a command. Index Number will be in brackets [ ] |
+.scr Hello |
+
.ecr |
+Edit a custom reaction, needs: reaction's name, index to change, and new multiword response. | +.ecr Hello 3 What's up |
.acr
,.addcustreact
(.acr
) takes two arguments:
+
.acr
.acr Nice weather sure is
.acr "Nice weather" sure is
.acr "Nice weather"
sure is
+
There are currently four placeholders, which we will be looking at, with many more to come in the future.
+
Placeholder | +How the placeholder works | +Examples | +
---|---|---|
%mention% |
+The %mention% placeholder is triggered when you type @botname |
+.acr "%mention% Hello" Hello! > User input: @botname Hello | Bot Replies: Hello! |
+
%target% |
+The %target% placeholder is used to make Nadeko Mention another person |
+.acr "%mention% Hello" %target% Hi! > User inputs: "@botname Hello @somebody"
+ Bot replies: "Hi @somebody" |
+
%user% |
+ The %user% placeholder mentions the person who said the command |
+ .acr "Who am i" You are %user%! |
+
%rng% |
+ The %rng% generates a random number |
+ .acr Random %rng%
+ |