From a6013bd678ed0b79684a707560ce052b18799052 Mon Sep 17 00:00:00 2001 From: Matteo Bertucci Date: Fri, 15 Jan 2021 12:48:12 +0100 Subject: Remove sprint channels from the configuration. Now that the core dev sprint has ended, we can safely remove those. It caused the wrong channel message to be huge because of all the deleted channels. --- bot/constants.py | 34 ---------------------------------- 1 file changed, 34 deletions(-) (limited to 'bot/constants.py') diff --git a/bot/constants.py b/bot/constants.py index f6da272e..90e302d0 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -126,23 +126,6 @@ class Channels(NamedTuple): hacktoberfest_2020 = 760857070781071431 voice_chat = 412357430186344448 - # Core Dev Sprint channels - sprint_announcements = 755958119963557958 - sprint_information = 753338352136224798 - sprint_organisers = 753340132639375420 - sprint_general = 753340631538991305 - sprint_social1_cheese_shop = 758779754789863514 - sprint_social2_pet_shop = 758780951978573824 - sprint_escape_room = 761031075942105109 - sprint_stdlib = 758553316732698634 - sprint_asyncio = 762904152438472714 - sprint_typing = 762904690341838888 - sprint_discussion_capi = 758553358587527218 - sprint_discussion_triage = 758553458365300746 - sprint_discussion_design = 758553492662255616 - sprint_discussion_mentor = 758553536623280159 - sprint_documentation = 761038271127093278 - class Client(NamedTuple): name = "Sir Lancebot" @@ -295,23 +278,6 @@ WHITELISTED_CHANNELS = ( Channels.off_topic_1, Channels.off_topic_2, Channels.voice_chat, - - # Core Dev Sprint Channels - Channels.sprint_announcements, - Channels.sprint_information, - Channels.sprint_organisers, - Channels.sprint_general, - Channels.sprint_social1_cheese_shop, - Channels.sprint_social2_pet_shop, - Channels.sprint_escape_room, - Channels.sprint_stdlib, - Channels.sprint_asyncio, - Channels.sprint_typing, - Channels.sprint_discussion_capi, - Channels.sprint_discussion_triage, - Channels.sprint_discussion_design, - Channels.sprint_discussion_mentor, - Channels.sprint_documentation, ) GIT_SHA = environ.get("GIT_SHA", "foobar") -- cgit v1.2.3 From a17445129a66907e210844d3edaf2871a001b4a8 Mon Sep 17 00:00:00 2001 From: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com> Date: Fri, 15 Jan 2021 18:19:40 +0300 Subject: Updates Constants Updates the constants file with the new channel ID, and renames both channels to match the new names. --- bot/constants.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bot/constants.py') 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") -- cgit v1.2.3