diff --git a/chatGpt/chatgpt.py b/chatGpt/chatgpt.py index 2c7442e..71757d1 100644 --- a/chatGpt/chatgpt.py +++ b/chatGpt/chatgpt.py @@ -10,16 +10,17 @@ class ChatGpt(commands.Cog): async def __init__(self, bot): self.bot = bot + + @commands.command() + async def testchat(self, ctx: commands.Context): + """Test""" + email = await self.bot.get_shared_api_tokens("openai", "email") password = await self.bot.get_shared_api_tokens("openai", "password") self.config = { "email": email, "password": password, } - - @commands.command() - async def testchat(self, ctx: commands.Context): - """Test""" await ctx.send(f"email {self.config.email}, password {self.config.password}") \ No newline at end of file