From 3ff2132570911612750091ea7a1d88059d16b274 Mon Sep 17 00:00:00 2001 From: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Wed, 19 May 2021 15:10:31 +0100 Subject: [PATCH] [Core] Update `[p]autoimmune remove` docstring * Merge pull request #5038 * update docstring * update docs correspondingly --- docs/cog_guides/core.rst | 2 +- redbot/core/core_commands.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cog_guides/core.rst b/docs/cog_guides/core.rst index fb7ee2d0e..5a6a3bc84 100644 --- a/docs/cog_guides/core.rst +++ b/docs/cog_guides/core.rst @@ -238,7 +238,7 @@ autoimmune remove **Description** -Makes a user or role immune from automated moderation actions. +Remove a user or role from being immune to automated moderation actions. **Examples:** - ``[p]autoimmune remove @TwentySix`` - Removes a user. diff --git a/redbot/core/core_commands.py b/redbot/core/core_commands.py index 3e91504f0..f4ec9433b 100644 --- a/redbot/core/core_commands.py +++ b/redbot/core/core_commands.py @@ -4473,7 +4473,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic): self, ctx: commands.Context, *, user_or_role: Union[discord.Member, discord.Role] ): """ - Makes a user or role immune from automated moderation actions. + Remove a user or role from being immune to automated moderation actions. **Examples:** - `[p]autoimmune remove @TwentySix` - Removes a user.