From 0be3b1acd7ed1fbb0745d2600849783aa786c94d Mon Sep 17 00:00:00 2001 From: Flame442 <34169552+Flame442@users.noreply.github.com> Date: Mon, 2 Sep 2019 09:43:56 -0400 Subject: [PATCH] Fixes the strings of `[p]set usebotcolor` (#2974) * Fixes the help text of `[p]set usebotcolor` * Create 2974.bugfix.rst --- changelog.d/2974.bugfix.rst | 1 + redbot/core/core_commands.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 changelog.d/2974.bugfix.rst diff --git a/changelog.d/2974.bugfix.rst b/changelog.d/2974.bugfix.rst new file mode 100644 index 000000000..65a856a64 --- /dev/null +++ b/changelog.d/2974.bugfix.rst @@ -0,0 +1 @@ +Fixed the help text and response of `[p]set usebotcolor` to accurately reflect what the command is doing. diff --git a/redbot/core/core_commands.py b/redbot/core/core_commands.py index 7c81bff11..e10a37ada 100644 --- a/redbot/core/core_commands.py +++ b/redbot/core/core_commands.py @@ -853,14 +853,14 @@ class Core(commands.Cog, CoreLogic): """ Toggle whether to use the bot owner-configured colour for embeds. - Default is to not use the bot's configured colour, in which case the - colour used will be the colour of the bot's top role. + Default is to use the bot's configured colour. + Otherwise, the colour used will be the colour of the bot's top role. """ current_setting = await ctx.bot._config.guild(ctx.guild).use_bot_color() await ctx.bot._config.guild(ctx.guild).use_bot_color.set(not current_setting) await ctx.send( _("The bot {} use its configured color for embeds.").format( - _("will not") if current_setting else _("will") + _("will not") if not current_setting else _("will") ) )