fourjr / discord-cli

A command line interface to use Discord.
83 stars 12 forks source link

Unclosed client session #6

Open maxtinion opened 4 years ago

maxtinion commented 4 years ago

Dunno if this is still an active project but when trying to run the script it spits this error out at me. I've never worked with whatever libraries you used in this so I don't know what's up lol main.py:41: DeprecationWarning: The object should be created from async function self.session = aiohttp.ClientSession(loop=self.loop) Logging in... Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x7fca95c521f0> Unclosed connector connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7fca95baef40>, 1646.629145462)]'] connector: <aiohttp.connector.TCPConnector object at 0x7fca95c09df0>