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 = ''
|
||||
|
|
@ -255,6 +254,10 @@ class PhixxyCom(commands.Cog):
|
|||
self.bot.logger.debug("It took " + str(run_time) + " seconds to generate the blog post!")
|
||||
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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue