added force_blog command
This commit is contained in:
parent
2f2a962848
commit
4244d0e9ad
1 changed files with 4 additions and 1 deletions
|
|
@ -197,7 +197,6 @@ class PhixxyCom(commands.Cog):
|
|||
except Exception as error:
|
||||
return None
|
||||
|
||||
@commands.command()
|
||||
async def generate_blog(self):
|
||||
start_time = time.time()
|
||||
topic = ''
|
||||
|
|
@ -256,6 +255,10 @@ class PhixxyCom(commands.Cog):
|
|||
output = "Blog Updated! (" + str(run_time) + " seconds) https://ai.phixxy.com/ai-blog"
|
||||
return output
|
||||
|
||||
@commands.command()
|
||||
async def force_blog(self, ctx):
|
||||
await self.generate_blog()
|
||||
|
||||
@commands.command(
|
||||
description="Website",
|
||||
help="Generates a website using gpt 3.5. Usage: !website (topic)",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue