From 657b76f1b5ded360cd698e4a4510bde4ea3490e4 Mon Sep 17 00:00:00 2001 From: Swee Date: Sat, 12 Oct 2024 15:30:25 -0700 Subject: [PATCH] Update sweebot.py --- sweebot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sweebot.py b/sweebot.py index 514853c..29d28b7 100644 --- a/sweebot.py +++ b/sweebot.py @@ -578,14 +578,14 @@ while True: soup = BeautifulSoup(e.text, 'html.parser') multiline("(" + nick + ") " + soup.title.string if soup.title.string != None else "[No title provided]", channel) else: - multiline("(" + nick + ") HTTP " + str(e.status_code), channel) + multiline("(" + nick + ") [HTTP " + str(e.status_code) + "]", channel) elif i[:7] == "http://": e = get(i) if e.ok: soup = BeautifulSoup(e.text, 'html.parser') multiline("(" + nick + ") " + soup.title.string if soup.title.string != None else "[No title provided]", channel) else: - multiline("(" + nick + ") HTTP " + str(e.status_code), channel) + multiline("(" + nick + ") [HTTP " + str(e.status_code) + "]", channel) except: print(traceback.format_exc()) elif "JOIN" in text and "#nixsanctuary" in text: