From f1a339fea4b67bba7a1dc3a8216a42d0edce070c Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Fri, 17 Nov 2023 09:32:16 +0700 Subject: [PATCH] Testing heroku basic deployment Signed-off-by: Yasir Aris M --- Procfile | 1 + misskaty/plugins/dev.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 Procfile diff --git a/Procfile b/Procfile new file mode 100644 index 00000000..aa67e94f --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +worker: bash start.sh \ No newline at end of file diff --git a/misskaty/plugins/dev.py b/misskaty/plugins/dev.py index 64a08c7b..057e45c2 100644 --- a/misskaty/plugins/dev.py +++ b/misskaty/plugins/dev.py @@ -187,7 +187,7 @@ async def server_stats(_, ctx: Message) -> "Message": neofetch = (await shell_exec("neofetch --stdout"))[0] - caption = f"{BOT_NAME} {misskaty_version} is Up and Running successfully.\n\n{neofetch}\n\n**OS Uptime:** {osuptime}\nBot Uptime: {currentTime}\n**Bot Usage:** {botusage}\n\n**Total Space:** {disk_total}\n**Free Space:** {disk_free}\n\n**Download:** {download}\n**Upload:** {upload}\n\nPyrogram Version: {pyrover}\nPython Version: {sys.version_info[0]}.{sys.version_info[1]}.{sys.version_info[2]} {sys.version_info[3].title()}" + caption = f"{BOT_NAME} {misskaty_version} is Up and Running successfully.\n\n{neofetch}\n\n**OS Uptime:** {osuptime}\nBot Uptime: {currentTime}\n**Bot Usage:** {botusage}\n\n**Total Space:** {disk_total}\n**Free Space:** {disk_free}\n\n**Download:** {download}\n**Upload:** {upload}\n\nPyroFork Version: {pyrover}\nPython Version: {sys.version_info[0]}.{sys.version_info[1]}.{sys.version_info[2]} {sys.version_info[3].title()}" start = datetime.now() msg = await ctx.reply_photo(