Actually closing the aiohttp session

pull/8/head
sgoudham 4 years ago
parent 7acc89952c
commit 33e4efdfe1

@ -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

Loading…
Cancel
Save