aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-01-15 18:19:40 +0300
committerGravatar Hassan Abouelela <[email protected]>2021-01-15 18:19:40 +0300
commita17445129a66907e210844d3edaf2871a001b4a8 (patch)
treee8e35ef794c56d5ba26cc86fe162f1ec6c1d4d09
parentRemove sprint channels from the configuration. (diff)
Updates Constants
Updates the constants file with the new channel ID, and renames both channels to match the new names.
-rw-r--r--bot/constants.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 90e302d0..24765c2a 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -124,7 +124,8 @@ class Channels(NamedTuple):
verification = 352442727016693763
python_discussion = 267624335836053506
hacktoberfest_2020 = 760857070781071431
- voice_chat = 412357430186344448
+ voice_chat_0 = 412357430186344448
+ voice_chat_1 = 799647045886541885
class Client(NamedTuple):
@@ -277,7 +278,8 @@ WHITELISTED_CHANNELS = (
Channels.off_topic_0,
Channels.off_topic_1,
Channels.off_topic_2,
- Channels.voice_chat,
+ Channels.voice_chat_0,
+ Channels.voice_chat_1,
)
GIT_SHA = environ.get("GIT_SHA", "foobar")