passed bot correctly this time

This commit is contained in:
phixxy 2024-01-20 01:21:41 -08:00
parent 65066c1877
commit 9a1097fc0a

View file

@ -2,12 +2,8 @@
import os import os
import time import time
from PIL import Image, PngImagePlugin from PIL import Image, PngImagePlugin
import io
import base64
import aiohttp import aiohttp
import asyncssh from discord.ext import commands
from discord.ext import commands, tasks
class AsyncOpenAI(commands.Cog): class AsyncOpenAI(commands.Cog):
@ -138,4 +134,4 @@ class AsyncOpenAI(commands.Cog):
await ctx.send(chunk) await ctx.send(chunk)
async def setup(bot): async def setup(bot):
await bot.add_cog(AsyncOpenAI) await bot.add_cog(AsyncOpenAI(bot))