From 33e4efdfe12fb56c793ae5326eda8ac785fab9a4 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 25 Aug 2020 02:51:12 +0100 Subject: [PATCH] Actually closing the aiohttp session --- cogs/fun.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cogs/fun.py b/cogs/fun.py index a4c39892..20c04b0d 100644 --- a/cogs/fun.py +++ b/cogs/fun.py @@ -380,6 +380,8 @@ class Fun(Cog): await self.bot.generate_embed(ctx, desc="**Instagram Username Not Found!**") return + await session.close() + # Setting bools to ticks/cross emojis verif = self.bot.tick if verified else self.bot.cross priv = self.bot.tick if private else self.bot.cross