forked from swee/MeowNex
Update sweebot.py
This commit is contained in:
parent
a862f647f4
commit
229d7ac05a
1 changed files with 1 additions and 3 deletions
|
@ -262,9 +262,7 @@ while True:
|
|||
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.")
|
||||
|
||||
elif command[0] == "$tip":
|
||||
result = subprocess.run(['fortune'], stdout=subprocess.PIPE)
|
||||
output = result.stdout.decode('utf-8').split("\n")
|
||||
multiline(output)
|
||||
system(["fortune"], channel)
|
||||
|
||||
elif command[0] == "$whoami":
|
||||
if perms != "":
|
||||
|
|
Loading…
Reference in a new issue