From c193eb9134c23a80cd68b4718ec702d7c81cb269 Mon Sep 17 00:00:00 2001 From: phixxy Date: Thu, 18 Jan 2024 22:17:32 -0800 Subject: [PATCH] added context to generate_blog() --- plugins/sparkytron_openai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sparkytron_openai.py b/plugins/sparkytron_openai.py index 1731dfc..8789841 100644 --- a/plugins/sparkytron_openai.py +++ b/plugins/sparkytron_openai.py @@ -64,7 +64,7 @@ async def blog(ctx, *args): await ctx.send("Saved suggestion!") @commands.command() -async def generate_blog(): +async def generate_blog(ctx): start_time = time.time() topic = '' filename = "phixxy.com/ai-blog/index.html"