aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar S. Co1 <[email protected]>2019-11-03 14:16:14 -0500
committerGravatar GitHub <[email protected]>2019-11-03 14:16:14 -0500
commitc1f15011518d6198a99a0a361d606937a1098be4 (patch)
tree8b4498dbf11c736c84cce9ce2918e70acdc6e142
parentMerge pull request #638 from loksonarius/fix-reddit-cog-sleep (diff)
parentMerge branch 'master' into master (diff)
Merge pull request #631 from manusaurio/master
Remove redirection on rules command
-rw-r--r--bot/cogs/site.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bot/cogs/site.py b/bot/cogs/site.py
index d95359159..683613788 100644
--- a/bot/cogs/site.py
+++ b/bot/cogs/site.py
@@ -3,8 +3,7 @@ import logging
from discord import Colour, Embed
from discord.ext.commands import Bot, Cog, Context, group
-from bot.constants import Channels, STAFF_ROLES, URLs
-from bot.decorators import redirect_output
+from bot.constants import URLs
from bot.pagination import LinePaginator
log = logging.getLogger(__name__)
@@ -105,7 +104,6 @@ class Site(Cog):
await ctx.send(embed=embed)
@site_group.command(aliases=['r', 'rule'], name='rules')
- @redirect_output(destination_channel=Channels.bot, bypass_roles=STAFF_ROLES)
async def site_rules(self, ctx: Context, *rules: int) -> None:
"""Provides a link to all rules or, if specified, displays specific rule(s)."""
rules_embed = Embed(title='Rules', color=Colour.blurple())