Skip to content
Discussion options

You must be logged in to vote

http.py#L550

async def static_login(self, token: str) -> user.User:
        # Necessary to get aiohttp to stop complaining about session creation
        if ...:
            self.connector = aiohttp.TCPConnector(...)

        self.__session = aiohttp.ClientSession(
            ...
        )
        self._global_over = asyncio.Event() # this line!

as seen in this line, _global_over is only defined after you login.
It will be MISSING before logging in, aka '_MissingSential'. (http.py#L340)

All you need to do is to run your bot first.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@JDJGInc
Comment options

@Qu1ck1337
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Qu1ck1337
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants