diff options
| -rw-r--r-- | bot/cogs/help.py | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/bot/cogs/help.py b/bot/cogs/help.py index ded068123..2168e2a60 100644 --- a/bot/cogs/help.py +++ b/bot/cogs/help.py @@ -10,6 +10,8 @@ from discord.ext.commands import CheckFailure  from fuzzywuzzy import fuzz, process  from bot import constants +from bot.constants import Roles +from bot.decorators import redirect_output  from bot.pagination import (      DELETE_EMOJI, FIRST_EMOJI, LAST_EMOJI,      LEFT_EMOJI, LinePaginator, RIGHT_EMOJI, @@ -23,7 +25,7 @@ REACTIONS = {      LAST_EMOJI: 'end',      DELETE_EMOJI: 'stop'  } - +STAFF_ROLES = Roles.helpers, Roles.moderator, Roles.admin, Roles.owner  Cog = namedtuple('Cog', ['name', 'description', 'commands']) @@ -652,6 +654,7 @@ class Help:      Custom Embed Pagination Help feature      """      @commands.command('help') +    @redirect_output(constants.Channels.bot, STAFF_ROLES)      async def new_help(self, ctx, *commands):          """          Shows Command Help. | 
