aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Manuel Ignacio Pérez Alcolea <[email protected]>2019-10-28 19:40:14 -0300
committerGravatar Manuel Ignacio Pérez Alcolea <[email protected]>2019-10-28 21:47:42 -0300
commit4a5165a9f46046a9e9db6562fb421e36749fd32a (patch)
treef41454c711e7b8eb9091d1d0e14d9c8f463d3eb7
parentMerge pull request #527 from kraktus/compact_free (diff)
Remove redirection on rules command
Previously restricted for the staff. This change was suggested due its possible usefulness for regular users.
-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())