diff --git a/extensions/async_openai.py b/extensions/chatgpt.py similarity index 99% rename from extensions/async_openai.py rename to extensions/chatgpt.py index 5bb1aba..bc1e9b5 100644 --- a/extensions/async_openai.py +++ b/extensions/chatgpt.py @@ -4,7 +4,7 @@ import time import json from discord.ext import commands, tasks -class AsyncOpenAI(commands.Cog): +class ChatGPT(commands.Cog): def __init__(self, bot): self.bot = bot @@ -202,5 +202,6 @@ class AsyncOpenAI(commands.Cog): self.save_to_db(reminders_path,data) + async def setup(bot): - await bot.add_cog(AsyncOpenAI(bot)) \ No newline at end of file + await bot.add_cog(ChatGPT(bot)) \ No newline at end of file