def cmd_uptime(self, msg, args): """Obtain the uptime of the machine running the bot.""" return command_output(("/usr/bin/uptime"))
def cmd_wtf(self, msg, args): """Uses the "wtf" tool to define acronyms and words.""" args.insert(0, "/usr/games/wtf") return command_output(args)