add tildescore shortcut
This commit is contained in:
parent
f65dbf934c
commit
f5bfb09b97
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue