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:
|
except Exception as error:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
@commands.command()
|
|
||||||
async def generate_blog(self):
|
async def generate_blog(self):
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
topic = ''
|
topic = ''
|
||||||
|
|
@ -256,6 +255,10 @@ class PhixxyCom(commands.Cog):
|
||||||
output = "Blog Updated! (" + str(run_time) + " seconds) https://ai.phixxy.com/ai-blog"
|
output = "Blog Updated! (" + str(run_time) + " seconds) https://ai.phixxy.com/ai-blog"
|
||||||
return output
|
return output
|
||||||
|
|
||||||
|
@commands.command()
|
||||||
|
async def force_blog(self, ctx):
|
||||||
|
await self.generate_blog()
|
||||||
|
|
||||||
@commands.command(
|
@commands.command(
|
||||||
description="Website",
|
description="Website",
|
||||||
help="Generates a website using gpt 3.5. Usage: !website (topic)",
|
help="Generates a website using gpt 3.5. Usage: !website (topic)",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue