diff options
| -rw-r--r-- | bot/constants.py | 1 | ||||
| -rw-r--r-- | bot/exts/evergreen/issues.py | 4 | 
2 files changed, 3 insertions, 2 deletions
| diff --git a/bot/constants.py b/bot/constants.py index ca9bb94a..bf6c5a40 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -50,6 +50,7 @@ class Channels(NamedTuple):      checkpoint_test = 422077681434099723      devalerts = 460181980097675264      devlog = int(environ.get("CHANNEL_DEVLOG", 622895325144940554)) +    dev_contrib = 635950537262759947      help_0 = 303906576991780866      help_1 = 303906556754395136      help_2 = 303906514266226689 diff --git a/bot/exts/evergreen/issues.py b/bot/exts/evergreen/issues.py index 4129156a..0f83731b 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 Channels, Colours, Emojis, WHITELISTED_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: | 
