Esempio n. 1
0
 def cmd_uptime(self, msg, args):
     """Obtain the uptime of the machine running the bot."""
     return command_output(("/usr/bin/uptime"))
Esempio n. 2
0
 def cmd_uptime(self, msg, args):
     """Obtain the uptime of the machine running the bot."""
     return command_output(("/usr/bin/uptime"))
Esempio n. 3
0
 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)
Esempio n. 4
0
 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)