1
0
Fork 0
mirror of synced 2024-06-29 03:30:57 +12:00

removed unload function

This commit is contained in:
Phxntxm 2016-08-13 23:05:26 -05:00
parent ca52ec25b9
commit d29bad3ea0

View file

@ -24,9 +24,6 @@ class Strawpoll:
self.headers = {'User-Agent': 'Bonfire/1.0.0',
'Content-Type': 'application/json'}
self.session = aiohttp.ClientSession()
def __unload(self):
self.bot.loop.create_task(self.session.close())
@commands.group(aliases=['strawpoll','poll','polls'], pass_context=True, invoke_without_command=True)