Update sweebot.py

This commit is contained in:
Swee 2024-10-12 16:24:59 -07:00
parent d67a44fa6b
commit 9da0939763

View file

@ -284,7 +284,7 @@ while True:
try: try:
if path.isfile(cwd + "/helps/" + " ".join(command[1:])): if path.isfile(cwd + "/helps/" + " ".join(command[1:])):
output = open(cwd + "/helps/" + " ".join(command[1:])).read() output = open(cwd + "/helps/" + " ".join(command[1:])).read()
multiline(output, channel) multiline(output, nick if sbconfig.cflagexist(channel, "-multiline") else channel)
else: else:
irc.send_irc(channel, "Either the command isn't documented yet or it doesn't exist lol") irc.send_irc(channel, "Either the command isn't documented yet or it doesn't exist lol")
except: except: