Add flip command
I put it under dice so it could use the same RNG.
This commit is contained in:
parent
62abae9535
commit
ffcf857111
|
@ -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"])))
|
||||
|
|
Loading…
Reference in New Issue