Giter Site home page Giter Site logo

Comments (4)

dolfies avatar dolfies commented on August 19, 2024 6

The API will be back once I get some free time, sorry guys :(

from discord.py-self.

ye4241 avatar ye4241 commented on August 19, 2024 1

@ccigas please use git source git+https://github.com/dolfies/discord.py-self.git@master in pip, do not install from pip officical packages.

from discord.py-self.

ccigas avatar ccigas commented on August 19, 2024

Hi, I am new to this project and getting that API down error. Not entirely sure how to do anything manually but just getting list index out of range when it goes manual.

Traceback (most recent call last):
  File "M:\PythonProjects\discord2\app.py", line 11, in <module>
    client.run('token')
  File "M:\PythonProjects\discord2\.venv\Lib\site-packages\discord\client.py", line 938, in run
    asyncio.run(runner())
  File "C:\Users\Cory Cigas\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 194, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "C:\Users\Cory Cigas\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Cory Cigas\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py", line 664, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "M:\PythonProjects\discord2\.venv\Lib\site-packages\discord\client.py", line 927, in runner
    await self.start(token, reconnect=reconnect)
  File "M:\PythonProjects\discord2\.venv\Lib\site-packages\discord\client.py", line 857, in start
    await self.login(token)
  File "M:\PythonProjects\discord2\.venv\Lib\site-packages\discord\client.py", line 698, in login
    data = await state.http.static_login(token.strip())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "M:\PythonProjects\discord2\.venv\Lib\site-packages\discord\http.py", line 991, in static_login
    await self.startup()
  File "M:\PythonProjects\discord2\.venv\Lib\site-packages\discord\http.py", line 562, in startup
    self.super_properties, self.encoded_super_properties = sp, _ = await utils._get_info(session)
                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "M:\PythonProjects\discord2\.venv\Lib\site-packages\discord\utils.py", line 1446, in _get_info
    bn = await _get_build_number(session)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "M:\PythonProjects\discord2\.venv\Lib\site-packages\discord\utils.py", line 1474, in _get_build_number
    build_url = 'https://discord.com/assets/' + re.compile(r'assets/+([a-z0-9]+)\.js').findall(login_page)[-2] + '.js'
                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^
IndexError: list index out of range
(.venv) PS M:\PythonProjects\discord2> 

from discord.py-self.

dolfies avatar dolfies commented on August 19, 2024

The API is back up now, sorry for the wait guys. The PyPi version should be working again. A release should be coming soon-ish

from discord.py-self.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.