dolfies / discord.py-self

A fork of the popular discord.py for user accounts.
https://discordpy-self.rtfd.io/en/latest/
MIT License
665 stars 155 forks source link

Br decoding issue #502

Closed jiojkkkakls closed 1 year ago

jiojkkkakls commented 1 year ago

Summary

I cannot run discord.py-self

Reproduction Steps

Anytime I run ANY discord.py-self script

Code

import discord

class MyClient(discord.Client):
    async def on_ready(self):
        print('Logged on as', self.user)

    async def on_message(self, message):
        # only respond to ourselves
        if message.author != self.user:
            return

client = MyClient()
client.run('token')

Expected Results

Print out Logged on as user

Actual Results

Error in console: aiohttp.client_exceptions.ClientPayloadError: 400, message='Can not decode content-encoding: br'

System Information

Checklist

Additional Information

No response

jiojkkkakls commented 1 year ago

Fixed it.