From 8e54fab377c7f798259bbf217afc8c3f68c9fb0f Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 8 Jan 2021 00:04:44 +0000 Subject: Get and renew V4 OAuth token --- bot/constants.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bot/constants.py') diff --git a/bot/constants.py b/bot/constants.py index f6da272e..e638dfa1 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -174,7 +174,7 @@ class Emojis: christmas_tree = "\U0001F384" check = "\u2611" envelope = "\U0001F4E8" - trashcan = "<:trashcan:637136429717389331>" + trashcan = "<:trashcan:796854840293589003>" ok_hand = ":ok_hand:" dice_1 = "<:dice_1:755891608859443290>" @@ -257,7 +257,8 @@ class Tokens(NamedTuple): youtube = environ.get("YOUTUBE_API_KEY") tmdb = environ.get("TMDB_API_KEY") nasa = environ.get("NASA_API_KEY") - igdb = environ.get("IGDB_API_KEY") + igdb_client_id = environ.get("IGDB_CLIENT_ID") + igdb_client_secret = environ.get("IGDB_CLIENT_SECRET") github = environ.get("GITHUB_TOKEN") -- cgit v1.2.3 From 4505ba3b07c75f531bb6aea0f16737f92330f37e Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 8 Jan 2021 00:07:31 +0000 Subject: Revert change to trashcan emoji --- bot/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/constants.py') diff --git a/bot/constants.py b/bot/constants.py index e638dfa1..cc342f3d 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -174,7 +174,7 @@ class Emojis: christmas_tree = "\U0001F384" check = "\u2611" envelope = "\U0001F4E8" - trashcan = "<:trashcan:796854840293589003>" + trashcan = "<:trashcan:637136429717389331>" ok_hand = ":ok_hand:" dice_1 = "<:dice_1:755891608859443290>" -- cgit v1.2.3 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