From a1d0f25fed30bf46af0161e703303ab1c14c7f9c Mon Sep 17 00:00:00 2001 From: Swee Date: Thu, 10 Oct 2024 16:57:54 -0700 Subject: [PATCH] Update guild2.py --- guild2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guild2.py b/guild2.py index d919f85..f50ac86 100644 --- a/guild2.py +++ b/guild2.py @@ -135,10 +135,10 @@ async def on_message(message): output = "" for line in iter(p.stdout.readline, b''): output+=line.decode() - await mess.edit(embed=guilded.Embed(title=":sweebot-loading: Pulling from Git...", description="```\n" + output + "\n```")) + await mess.edit(embed=guilded.Embed(title=":sweebot-loading: Pulling from Git...", description="```\n" + output + "```")) p.stdout.close() p.wait() - await mess.edit(embed=guilded.Embed(title=":sweebot-success: Done, restarting bot...", description="```\n" + output + "\n```")) + await mess.edit(embed=guilded.Embed(title=":sweebot-success: Done, restarting bot...", description="```\n" + output + "```")) else: mess = await message.reply(embed=guilded.Embed(title=":sweebot-fail: Permission denied.")) print("[" + RED + "FAIL" + RESET + "] Not restarting script, Permission Denied for " + message.author.name)