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: