diff --git a/sweebot.py b/sweebot.py index f792e71..11303bd 100644 --- a/sweebot.py +++ b/sweebot.py @@ -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 != "":