forked from swee/MeowNex
Update sweebot.py
This commit is contained in:
parent
7ac14ddb67
commit
a862f647f4
1 changed files with 8 additions and 5 deletions
|
@ -250,11 +250,14 @@ while True:
|
|||
run-=1
|
||||
update()
|
||||
else:
|
||||
try:
|
||||
if path.isfile(cwd + "/helps/" + " ".join(command[1:])):
|
||||
output = open(cwd + "/helps/" + " ".join(command[1:])).read()
|
||||
multiline(output)
|
||||
multiline(output, channel)
|
||||
else:
|
||||
irc.send_irc(channel, "Either the command isn't documented yet or it doesn't exist lol")
|
||||
except:
|
||||
multiline(output, channel)
|
||||
else:
|
||||
irc.send_irc(channel, "tip, ping, whoami, perms, version, figlet, tdfiglet, cowsay, uptime, cc, joke, botsnack. (restart, join, part, shell, config, pull.) Use '$help (command)' for explanation.")
|
||||
|
||||
|
|
Loading…
Reference in a new issue