Update sweebot.py
This commit is contained in:
parent
d67a44fa6b
commit
9da0939763
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue