Comments (4)
I was able to fix the problem in the v2.0 release by editing the build URL and build index to match the updated files from discord.
utils.py
line 1474 build_url = 'https://discord.com/assets/' + re.compile(r'assets/+([a-z0-9]+\.[a-z0-9]+)\.js').findall(login_page)[-2] + '.js'
line 1477 build_index = build_file.find('buildNumber') + 26
It returned the correct build number (284187
currently) and then I could log in.
from discord.py-self.
The version available on PyPI (Python Package Index) is outdated. You can install the latest version directly from GitHub using this command:
pip install git+https://github.com/dolfies/discord.py-self.git
from discord.py-self.
I was able to fix the problem in the v2.0 release by editing the build URL and build index to match the updated files from discord.
utils.py line 1474
build_url = 'https://discord.com/assets/' + re.compile(r'assets/+([a-z0-9]+\.[a-z0-9]+)\.js').findall(login_page)[-2] + '.js'
line 1477
build_index = build_file.find('buildNumber') + 26
It returned the correct build number (
284187
currently) and then I could log in.
I too am having a similar issue however this fix did not work for me assuming the build number has changed since, hopefully a more permanent solution is established soon.
from discord.py-self.
Fixed the fallback! The API is back up too. Sorry for the wait guys.
from discord.py-self.
Related Issues (20)
- Slash commands in Direct Message Channels with a bot. HOT 1
- Discord status is reset HOT 2
- Cant set status with discord.Activity HOT 13
- on_modal doesn't work
- Feature: Add a way to react messages with super reactions
- change_presence afk=True is broken HOT 5
- List Index is out of range HOT 8
- API temporarily down. Falling back to manual retrieval HOT 4
- aiohttp.client_exceptions.ClientPayloadError: 400, message='Can not decode content-encoding: br' HOT 3
- reading voice data when in voice channel HOT 2
- Can't Seem To Catch discord.Forbidden Exception HOT 1
- invalid literal for int() with base 10: ',"2820' HOT 3
- Error join guild
- Terminal color output regression since last release. HOT 3
- add a way to add super reactions
- API Error HOT 3
- KeyError: 'browser_user_agent' HOT 1
- Fragmented control frame causes crash HOT 1
- Slash Commands With Arguments Are Not Sent
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord.py-self.