From 6d50ca0aef02bfdd41a1e95baebd287c1b03f14a Mon Sep 17 00:00:00 2001 From: phixxy Date: Wed, 24 Jan 2024 15:44:55 -0800 Subject: [PATCH] changed name to chatgpt to better explain what the plugin is --- extensions/{async_openai.py => chatgpt.py} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename extensions/{async_openai.py => chatgpt.py} (99%) 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