this should fix the bug in generate blog

This commit is contained in:
phixxy 2024-01-25 02:00:12 -08:00
parent 73a4e8dcc0
commit e65fadd71b

View file

@ -198,7 +198,7 @@ class PhixxyCom(commands.Cog):
return None return None
@commands.command() @commands.command()
async def generate_blog(self, ctx): async def generate_blog(self, ctx=None):
start_time = time.time() start_time = time.time()
topic = '' topic = ''
filename = f"{self.data_dir}ai-blog/index.html" filename = f"{self.data_dir}ai-blog/index.html"