diff --git a/commands/dice.py b/commands/dice.py index 7693e14..374d2c0 100644 --- a/commands/dice.py +++ b/commands/dice.py @@ -24,3 +24,7 @@ def dndice(bot,channel,nick,roll,*args): # raise Exception("minerobber check the logs") plugin.alias("dice","dndice") + +@plugin.command("flip") +def flip(bot,channel,nick,*args): + bot.say(channel,"{}: Coin lands {}".format(nick,RNG.choice(["Heads","Tails"])))