From a85e5f3b6412706bc329b2c82924f61b55c891cd Mon Sep 17 00:00:00 2001 From: Numerlor <25886452+Numerlor@users.noreply.github.com> Date: Sun, 19 Apr 2020 17:59:11 +0200 Subject: Allow issue command in #dev-contrib --- bot/exts/evergreen/issues.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/exts/evergreen/issues.py') diff --git a/bot/exts/evergreen/issues.py b/bot/exts/evergreen/issues.py index 4129156a..1f3128d5 100644 --- a/bot/exts/evergreen/issues.py +++ b/bot/exts/evergreen/issues.py @@ -3,7 +3,7 @@ import logging import discord from discord.ext import commands -from bot.constants import Colours, Emojis, WHITELISTED_CHANNELS +from bot.constants import Colours, Emojis, WHITELISTED_CHANNELS, Channels from bot.utils.decorators import override_in_channel log = logging.getLogger(__name__) @@ -21,7 +21,7 @@ class Issues(commands.Cog): self.bot = bot @commands.command(aliases=("pr",)) - @override_in_channel(WHITELISTED_CHANNELS) + @override_in_channel(WHITELISTED_CHANNELS + (Channels.dev_contrib,)) async def issue( self, ctx: commands.Context, number: int, repository: str = "seasonalbot", user: str = "python-discord" ) -> None: -- cgit v1.2.3