aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-03-27 18:33:36 +0100
committerGravatar Matteo Bertucci <[email protected]>2021-03-27 18:43:55 +0100
commitd03a41dfbeb3653fbc96ae4c6e3160fe581b1d16 (patch)
treed3e377bfe6e154eeb4511a86fe6c23a375d3ddc1
parentAllow automatic linking of issues everywhere (diff)
Remove unused WHITELISTED_CHANNELS_ON_MESSAGE constant
-rw-r--r--bot/exts/evergreen/issues.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/bot/exts/evergreen/issues.py b/bot/exts/evergreen/issues.py
index 6ca0c3c9..3d23b869 100644
--- a/bot/exts/evergreen/issues.py
+++ b/bot/exts/evergreen/issues.py
@@ -7,7 +7,7 @@ from enum import Enum
import discord
from discord.ext import commands, tasks
-from bot.constants import Categories, Channels, Colours, ERROR_REPLIES, Emojis, Tokens, WHITELISTED_CHANNELS
+from bot.constants import Categories, Colours, ERROR_REPLIES, Emojis, Tokens, WHITELISTED_CHANNELS
log = logging.getLogger(__name__)
@@ -26,9 +26,6 @@ if GITHUB_TOKEN := Tokens.github:
WHITELISTED_CATEGORIES = (
Categories.development, Categories.devprojects, Categories.media, Categories.staff
)
-WHITELISTED_CHANNELS_ON_MESSAGE = (
- Channels.organisation, Channels.mod_meta, Channels.mod_tools, Channels.staff_voice
-)
CODE_BLOCK_RE = re.compile(
r"^`([^`\n]+)`" # Inline codeblock