added blog title to output

This commit is contained in:
phixxy 2024-03-20 00:11:49 -07:00
parent 523ef6db75
commit 631e89a0de

View file

@ -293,7 +293,7 @@ class PhixxyCom(commands.Cog):
await self.upload_sftp(filename, (os.getenv('ftp_public_html') + 'ai-blog/'), "index.html") await self.upload_sftp(filename, (os.getenv('ftp_public_html') + 'ai-blog/'), "index.html")
run_time = time.time() - start_time run_time = time.time() - start_time
self.logger.debug("It took " + str(run_time) + " seconds to generate the blog post!") self.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" output = f"Blog Updated! ({run_time} seconds) {title} https://ai.phixxy.com/ai-blog"
return output return output
@commands.command() @commands.command()