removed unload function
This commit is contained in:
parent
ca52ec25b9
commit
d29bad3ea0
1 changed files with 0 additions and 3 deletions
|
@ -24,9 +24,6 @@ class Strawpoll:
|
||||||
self.headers = {'User-Agent': 'Bonfire/1.0.0',
|
self.headers = {'User-Agent': 'Bonfire/1.0.0',
|
||||||
'Content-Type': 'application/json'}
|
'Content-Type': 'application/json'}
|
||||||
self.session = aiohttp.ClientSession()
|
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)
|
@commands.group(aliases=['strawpoll','poll','polls'], pass_context=True, invoke_without_command=True)
|
||||||
|
|
Loading…
Reference in a new issue