diff --git a/redbot/cogs/permissions/permissions.py b/redbot/cogs/permissions/permissions.py index afb3cb3d0..6ec3b900e 100644 --- a/redbot/cogs/permissions/permissions.py +++ b/redbot/cogs/permissions/permissions.py @@ -10,7 +10,7 @@ from schema import And, Or, Schema, SchemaError, Optional as UseOptional from redbot.core import checks, commands, config from redbot.core.bot import Red from redbot.core.i18n import Translator, cog_i18n -from redbot.core.utils.chat_formatting import box +from redbot.core.utils.chat_formatting import box, error, success from redbot.core.utils.menus import start_adding_reactions from redbot.core.utils.predicates import ReactionPredicate, MessagePredicate @@ -264,9 +264,9 @@ class Permissions(commands.Cog): can = False out = ( - _("That user can run the specified command.") + success(_("That user can run the specified command.")) if can - else _("That user can not run the specified command.") + else error(_("That user can not run the specified command.")) ) await ctx.send(out)