This commit is contained in:
Juni
2022-12-05 13:57:33 -05:00
parent 6d67b59b7e
commit 3f3b36cd4a

View File

@@ -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}")