From 9561c06ad5d110d5a584a02ff90430ead04e9f65 Mon Sep 17 00:00:00 2001 From: Jordan Fearnley Date: Mon, 10 Oct 2016 17:36:23 +0100 Subject: [PATCH] Custom Reactions rewritten in Markdown It's all in markdown now, rather than HTML! Added clarification on how the placeholders are used. `%target%`'s old implementation is there as a comment, ready for it's return --- docs/Custom Reactions.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/Custom Reactions.md b/docs/Custom Reactions.md index f0bfdc9a..4849bf8b 100644 --- a/docs/Custom Reactions.md +++ b/docs/Custom Reactions.md @@ -1,7 +1,9 @@ ##Custom Reactions ###Important -* For modifying **global** custom reactions, the ones which will work across all the servers your bot is connected to, you **must** be a Bot Owner.
You must also use the commands for adding, deleting and listing these reactions in a direct message with the bot. -* For modifying **local** custom reactions, the ones which will only work on the server that they are added on, require you to have the **Administrator** permission.
You must also use the commands for adding, deleting and listing these reactions in the server you want the custom reactions to work on. +* For modifying **global** custom reactions, the ones which will work across all the servers your bot is connected to, you **must** be a Bot Owner. +You must also use the commands for adding, deleting and listing these reactions in a direct message with the bot. +* For modifying **local** custom reactions, the ones which will only work on the server that they are added on, require you to have the **Administrator** permission. +You must also use the commands for adding, deleting and listing these reactions in the server you want the custom reactions to work on. ###Commands and Their Use | Command Name | Description | Example | @@ -28,9 +30,9 @@ There are currently three different placeholders which we will look at, with mor | Placeholder | How the placeholder works | Example Usage | Input | Output | |:-----------:|---------------------------|---------------|-------|--------| |`%mention`|The `%mention%` placeholder is triggered when you type `@BotName` - It's important to note that if you've given the bot a custom nickname, this trigger won't work!|`.acr "Hello %mention%" I, %mention%, also say hello!`|Hello @BotName|I, @BotName, also say hello!| -|`%user%`|The `%user%` placeholder mentions the person who said the command|`.acr "Who am I?" You are %user%!`|Who am I?|You are, @Username| +|`%user%`|The `%user%` placeholder mentions the person who said the command|`.acr "Who am I?" You are %user%!`|Who am I?|You are @Username!| |`%rng%`|The `%rng%` placeholder generates a random number between 0 and 10|`.acr "Random number" %rng%`|Random number|2| - +[//]: # (|`%target%`|The `%target%` placeholder is used to make Nadeko Mention another person or phrase|`.acr "Say this: " %target%|Say this: I, @BotName, am a parrot!|I, @BotName, am a parrot!|) - Thanks to Nekai for being creative. <3 + Thanks to Nekai for being creative. <3