From 3c02761087e98cede89f330470002248e03d0d0b Mon Sep 17 00:00:00 2001 From: Daniel Brown Date: Mon, 12 Oct 2020 13:42:22 -0500 Subject: Adding #voice_chat to the Seasonal Bot white list Since SeasonalBot is able to be used in the off-topic channels, it makes to have it work in the voice_chat channel as well. --- bot/constants.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bot/constants.py') diff --git a/bot/constants.py b/bot/constants.py index e113428e..1909cb86 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -75,6 +75,7 @@ class Channels(NamedTuple): show_your_projects = int(environ.get("CHANNEL_SHOW_YOUR_PROJECTS", 303934982764625920)) show_your_projects_discussion = 360148304664723466 hacktoberfest_2020 = 760857070781071431 + voice_chat = 412357430186344448 class Client(NamedTuple): @@ -209,6 +210,7 @@ WHITELISTED_CHANNELS = ( Channels.off_topic_0, Channels.off_topic_1, Channels.off_topic_2, + Channels.voice_chat, ) # Bot replies -- cgit v1.2.3 From 42316a7a57de91a04fdd1edf145cfb81294aafb7 Mon Sep 17 00:00:00 2001 From: Daniel Brown Date: Thu, 15 Oct 2020 09:47:18 -0500 Subject: Added Core Dev Sprint to whitelist For the sake of entertainment of the Core Devs, I have added the SeasonalBot functionality to the Core Dev Sprint channels. --- bot/constants.py | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'bot/constants.py') diff --git a/bot/constants.py b/bot/constants.py index 1909cb86..2466da02 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -76,6 +76,23 @@ class Channels(NamedTuple): show_your_projects_discussion = 360148304664723466 hacktoberfest_2020 = 760857070781071431 voice_chat = 412357430186344448 + + # Core Dev Sprint channels + announcements = 755958119963557958 + information = 753338352136224798 + organisers = 753340132639375420 + general = 753340631538991305 + social1_cheese_shop = 758779754789863514 + social2_pet_shop = 758780951978573824 + escape_room = 761031075942105109 + stdlib = 758553316732698634 + asyncio = 762904152438472714 + typing = 762904690341838888 + discussion_capi = 758553358587527218 + discussion_triage = 758553458365300746 + discussion_design = 758553492662255616 + discussion_mentor = 758553536623280159 + documentation = 761038271127093278 class Client(NamedTuple): @@ -211,6 +228,23 @@ WHITELISTED_CHANNELS = ( Channels.off_topic_1, Channels.off_topic_2, Channels.voice_chat, + + # Core Dev Sprint Channels + Channels.announcements, + Channels.information, + Channels.organisers, + Channels.general, + Channels.social1_cheese_shop, + Channels.social2_pet_shop, + Channels.escape_room, + Channels.stdlib, + Channels.asyncio, + Channels.typing, + Channels.discussion_capi, + Channels.discussion_triage, + Channels.discussion_design, + Channels.discussion_mentor, + Channels.documentation, ) # Bot replies -- cgit v1.2.3 From 273a5170a42c119d74c337532e3ff8fe91a6f34c Mon Sep 17 00:00:00 2001 From: Daniel Brown Date: Thu, 15 Oct 2020 10:32:09 -0500 Subject: Corrected Trailing Whitespace Removed a trailing white space that caused a build failure. --- bot/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/constants.py') diff --git a/bot/constants.py b/bot/constants.py index 2466da02..c5eed1f8 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -76,7 +76,7 @@ class Channels(NamedTuple): show_your_projects_discussion = 360148304664723466 hacktoberfest_2020 = 760857070781071431 voice_chat = 412357430186344448 - + # Core Dev Sprint channels announcements = 755958119963557958 information = 753338352136224798 @@ -228,7 +228,7 @@ WHITELISTED_CHANNELS = ( Channels.off_topic_1, Channels.off_topic_2, Channels.voice_chat, - + # Core Dev Sprint Channels Channels.announcements, Channels.information, -- cgit v1.2.3 From 725d3982128ae7da549b2a9aa1bfa5194393ba42 Mon Sep 17 00:00:00 2001 From: kwzrd Date: Thu, 15 Oct 2020 20:17:49 +0200 Subject: Constants: rename conflicting channel There were two attributes named 'announcements' on the Channels class. --- bot/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/constants.py') diff --git a/bot/constants.py b/bot/constants.py index c5eed1f8..2056d542 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -78,7 +78,7 @@ class Channels(NamedTuple): voice_chat = 412357430186344448 # Core Dev Sprint channels - announcements = 755958119963557958 + sprint_announcements = 755958119963557958 information = 753338352136224798 organisers = 753340132639375420 general = 753340631538991305 @@ -230,7 +230,7 @@ WHITELISTED_CHANNELS = ( Channels.voice_chat, # Core Dev Sprint Channels - Channels.announcements, + Channels.sprint_announcements, Channels.information, Channels.organisers, Channels.general, -- cgit v1.2.3 From e67f4a063eb7c9926ed295a9c99394487d5ca633 Mon Sep 17 00:00:00 2001 From: kwzrd Date: Thu, 15 Oct 2020 20:28:38 +0200 Subject: Constants: prefix sprint channel names These are channels created for the CPython Core Dev Sprint event. --- bot/constants.py | 56 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'bot/constants.py') diff --git a/bot/constants.py b/bot/constants.py index 2056d542..f1f34886 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -79,20 +79,20 @@ class Channels(NamedTuple): # Core Dev Sprint channels sprint_announcements = 755958119963557958 - information = 753338352136224798 - organisers = 753340132639375420 - general = 753340631538991305 - social1_cheese_shop = 758779754789863514 - social2_pet_shop = 758780951978573824 - escape_room = 761031075942105109 - stdlib = 758553316732698634 - asyncio = 762904152438472714 - typing = 762904690341838888 - discussion_capi = 758553358587527218 - discussion_triage = 758553458365300746 - discussion_design = 758553492662255616 - discussion_mentor = 758553536623280159 - documentation = 761038271127093278 + 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): @@ -231,20 +231,20 @@ WHITELISTED_CHANNELS = ( # Core Dev Sprint Channels Channels.sprint_announcements, - Channels.information, - Channels.organisers, - Channels.general, - Channels.social1_cheese_shop, - Channels.social2_pet_shop, - Channels.escape_room, - Channels.stdlib, - Channels.asyncio, - Channels.typing, - Channels.discussion_capi, - Channels.discussion_triage, - Channels.discussion_design, - Channels.discussion_mentor, - Channels.documentation, + 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, ) # Bot replies -- cgit v1.2.3