diff options
author | 2021-01-17 13:58:58 +0200 | |
---|---|---|
committer | 2021-01-17 13:58:58 +0200 | |
commit | 63ac6c766e04a18d56029bf287375bdcacab475d (patch) | |
tree | b64f71de352f9f6f3502414553b5282e16e180c2 | |
parent | Add OAuth response to warning. (diff) | |
parent | Merge pull request #557 from python-discord/add_voice_chat (diff) |
Merge branch 'master' into IGDB-V4
-rw-r--r-- | bot/constants.py | 40 | ||||
-rw-r--r-- | bot/exts/evergreen/8bitify.py | 2 |
2 files changed, 5 insertions, 37 deletions
diff --git a/bot/constants.py b/bot/constants.py index cc342f3d..d63a063e 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -124,24 +124,8 @@ class Channels(NamedTuple): verification = 352442727016693763 python_discussion = 267624335836053506 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 + voice_chat_0 = 412357430186344448 + voice_chat_1 = 799647045886541885 class Client(NamedTuple): @@ -295,24 +279,8 @@ WHITELISTED_CHANNELS = ( Channels.off_topic_0, 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, + Channels.voice_chat_0, + Channels.voice_chat_1, ) GIT_SHA = environ.get("GIT_SHA", "foobar") diff --git a/bot/exts/evergreen/8bitify.py b/bot/exts/evergreen/8bitify.py index c048d9bf..54e68f80 100644 --- a/bot/exts/evergreen/8bitify.py +++ b/bot/exts/evergreen/8bitify.py @@ -19,7 +19,7 @@ class EightBitify(commands.Cog): @staticmethod def quantize(image: Image) -> Image: """Reduces colour palette to 256 colours.""" - return image.quantize(colors=32) + return image.quantize() @commands.command(name="8bitify") async def eightbit_command(self, ctx: commands.Context) -> None: |