add tildescore shortcut

This commit is contained in:
minerobber 2019-01-19 03:59:50 +00:00
parent f65dbf934c
commit f5bfb09b97
1 changed files with 4 additions and 0 deletions

View File

@ -71,3 +71,7 @@ def unscramble(bot,channel,nick,subcmd,*args):
@mbtilde.command("factor")
def factor(bot,channel,nick,subcmd,*args):
bot.say(channel,subprocess.check_output(["/usr/bin/factor",str(args[0])]).decode("ascii").split(": ")[1].replace(" ",",").strip())
@mbtilde.command("score")
def score(bot,channel,nick,subcmd,*args):
bot.say(channel,"!tildescore")