aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Henrik Böving <[email protected]>2018-03-10 13:09:09 +0100
committerGravatar Leon Sandøy <[email protected]>2018-03-10 13:09:09 +0100
commitac9613ac180a134066c1e8a5ede38e30c02da0ed (patch)
tree0e757f72e4d4b565d0940dec0110c41adb57ce12
parentFix typo in events.py (diff)
quickfix for autocodeblocking listening to bot_commands channel (#29)
* quickfix, autocodeblock should now listen to bot_commands too * blank removed * import order
-rw-r--r--bot/cogs/bot.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/bot/cogs/bot.py b/bot/cogs/bot.py
index a29aff9d5..1aa335388 100644
--- a/bot/cogs/bot.py
+++ b/bot/cogs/bot.py
@@ -8,9 +8,9 @@ from discord.ext.commands import AutoShardedBot, Context, command, group
from dulwich.repo import Repo
-from bot.constants import (DEVTEST_CHANNEL, HELP1_CHANNEL, HELP2_CHANNEL,
- HELP3_CHANNEL, PYTHON_CHANNEL, PYTHON_GUILD,
- VERIFIED_ROLE)
+from bot.constants import (BOT_CHANNEL, DEVTEST_CHANNEL, HELP1_CHANNEL,
+ HELP2_CHANNEL, HELP3_CHANNEL, PYTHON_CHANNEL,
+ PYTHON_GUILD, VERIFIED_ROLE)
from bot.decorators import with_role
@@ -27,7 +27,8 @@ class Bot:
HELP2_CHANNEL: 0,
HELP3_CHANNEL: 0,
PYTHON_CHANNEL: 0,
- DEVTEST_CHANNEL: 0
+ DEVTEST_CHANNEL: 0,
+ BOT_CHANNEL: 0
} # noqa. E124
@group(invoke_without_command=True, name="bot", hidden=True)