Merge pull request #334 from miaowware/cleansessions

Cleaned-up usused aiohttp sessions
This commit is contained in:
0x5c 2021-01-18 00:08:46 -05:00 committed by GitHub
commit a25597ec82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,6 @@ the GNU General Public License, version 2.
import re
import aiohttp
import discord.ext.commands as commands
import common as cmn
@ -22,7 +20,6 @@ class WeatherCog(commands.Cog):
def __init__(self, bot: commands.Bot):
self.bot = bot
self.session = aiohttp.ClientSession(connector=bot.qrm.connector)
@commands.command(aliases=["solar", "bandconditions", "cond", "condx", "conditions"], category=cmn.cat.weather)
async def solarweather(self, ctx: commands.Context):