From 9a1097fc0adb28202c896cd428b2bf40438959e7 Mon Sep 17 00:00:00 2001 From: phixxy Date: Sat, 20 Jan 2024 01:21:41 -0800 Subject: [PATCH] passed bot correctly this time --- extensions/async_openai.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/extensions/async_openai.py b/extensions/async_openai.py index 2e97549..a7e3e6d 100644 --- a/extensions/async_openai.py +++ b/extensions/async_openai.py @@ -2,12 +2,8 @@ import os import time from PIL import Image, PngImagePlugin -import io -import base64 - import aiohttp -import asyncssh -from discord.ext import commands, tasks +from discord.ext import commands class AsyncOpenAI(commands.Cog): @@ -138,4 +134,4 @@ class AsyncOpenAI(commands.Cog): await ctx.send(chunk) async def setup(bot): - await bot.add_cog(AsyncOpenAI) \ No newline at end of file + await bot.add_cog(AsyncOpenAI(bot)) \ No newline at end of file