From e314ec178dd0ca09e14444c806536613e5348704 Mon Sep 17 00:00:00 2001 From: Sheldan <5037282+Sheldan@users.noreply.github.com> Date: Mon, 11 May 2020 15:14:13 +0200 Subject: [PATCH] added explanation about immune roles --- .../src/main/docs/asciidoc/features/core.adoc | 12 +++++++++++- .../documentation/src/main/docs/asciidoc/main.adoc | 1 - 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/abstracto-application/documentation/src/main/docs/asciidoc/features/core.adoc b/abstracto-application/documentation/src/main/docs/asciidoc/features/core.adoc index 550d6e038..3ee0b28d5 100644 --- a/abstracto-application/documentation/src/main/docs/asciidoc/features/core.adoc +++ b/abstracto-application/documentation/src/main/docs/asciidoc/features/core.adoc @@ -85,4 +85,14 @@ Make a role immune against a command:: * Description: Makes the role immune from all commands in the `feature`/the `command`. Enforce the role restrictions of commands:: * Usage: `restrict ` -* Description: Causes the role restrictions for a all commands in the `feature`/the `command` to be in effect again. \ No newline at end of file +* Description: Causes the role restrictions for a all commands in the `feature`/the `command` to be in effect again. + +==== What does it mean if a role is immune? +A command can take a member as a target, for example `ban`. If a role is considered immune, this means, if the member which is the target of the command has the given role, this command will fail. Not all commands support this feature, but only the following: + +* Ban +* Kick +* Warn +* Mute + +While a role can be made immune for any command, only these commands actually use this information. \ No newline at end of file diff --git a/abstracto-application/documentation/src/main/docs/asciidoc/main.adoc b/abstracto-application/documentation/src/main/docs/asciidoc/main.adoc index e44d551b9..4f39caa00 100644 --- a/abstracto-application/documentation/src/main/docs/asciidoc/main.adoc +++ b/abstracto-application/documentation/src/main/docs/asciidoc/main.adoc @@ -29,7 +29,6 @@ In order to change this you need to use the command `setConfig` with the provide Emotes:: The features have section of the keys of used emotes in the feature, you can change this emote with the `setEmote` command. == Features -The following features are available, and they can be enabled/disabled with the command `enable`/`disable`. include::features/core.adoc[]