Add !cat command, a la !coin and !pony. Because we really needed another
one and because kitties are adorable.
This commit is contained in:
Ryan Schmidt 2016-05-10 16:17:45 -07:00
parent fe451962cd
commit 6c166d4fb0
2 changed files with 8 additions and 0 deletions

View File

@ -769,6 +769,8 @@
], ],
"pony_land": "The pony lands on \u0002{0}\u0002.", "pony_land": "The pony lands on \u0002{0}\u0002.",
"pony_fly": "The pony flies away.", "pony_fly": "The pony flies away.",
"cat_toss": "\u0002{0}\u0002 tosses a cat into the air...",
"cat_land": "The cat lands on its \u0002feet\u0002.",
"vengeful_role": "You are a \u0002vengeful ghost\u0002 who is against the \u0002{0}\u0002.", "vengeful_role": "You are a \u0002vengeful ghost\u0002 who is against the \u0002{0}\u0002.",
"show_role": "You are a{0} \u0002{1}\u0002.", "show_role": "You are a{0} \u0002{1}\u0002.",
"original_wolves": "Original wolves: ", "original_wolves": "Original wolves: ",

View File

@ -8602,6 +8602,12 @@ def pony(cli, nick, chan, rest):
cmsg = messages["pony_land"].format(pony) cmsg = messages["pony_land"].format(pony)
reply(cli, nick, chan, cmsg) reply(cli, nick, chan, cmsg)
@cmd("cat", pm=True)
def cat(cli, nick, chan, rest):
"""Toss a cat into the air and see what happens!"""
reply(cli, nick, chan, messages["cat_toss"].format(nick))
reply(cli, nick, chan, messages["cat_land"])
@cmd("time", pm=True, phases=("join", "day", "night")) @cmd("time", pm=True, phases=("join", "day", "night"))
def timeleft(cli, nick, chan, rest): def timeleft(cli, nick, chan, rest):
"""Returns the time left until the next day/night transition.""" """Returns the time left until the next day/night transition."""