diff options
| author | 2021-01-16 22:10:42 +0200 | |
|---|---|---|
| committer | 2021-01-16 22:10:42 +0200 | |
| commit | 0a6947b248da98cb14504b0361351ef79b1230f1 (patch) | |
| tree | ac5382855f2a4b0dce9cde4f324a0312bb92b272 | |
| parent | Fix too long line (diff) | |
| parent | Merge pull request #557 from python-discord/add_voice_chat (diff) | |
Merge branch 'master' into tic-tac-toe
| -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 fd4854b9..2a306d94 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): @@ -311,24 +295,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: | 
