Make !ping actually goat the user when they win a goat
This commit is contained in:
parent
8aede6d01d
commit
e2469c342f
@ -27,7 +27,7 @@
|
||||
"Don't you mean \u0002{cmd_char}ping\u0002?",
|
||||
"skynet.exe has stopped working. Windows is checking for a solution to the problem...",
|
||||
"No ping received for 1337 seconds.",
|
||||
"Congratulations! You're the 1337th person to use {cmd_char}ping. You win a goat!",
|
||||
"Congratulations! You're the 1337th person to use {cmd_char}ping. You win a goat!\n\u0001ACTION \u030ds goat walks by and {goat_action} \u0002{nick}\u0002.\u0001",
|
||||
"PING! {nick}",
|
||||
"I'm sorry Dave, I'm afraid I can't do that.",
|
||||
"Give me a ping, Vasily. One ping only, please.",
|
||||
|
@ -619,7 +619,11 @@ def restart_program(cli, nick, chan, rest):
|
||||
@cmd("ping", pm=True)
|
||||
def pinger(cli, nick, chan, rest):
|
||||
"""Check if you or the bot is still connected."""
|
||||
reply(cli, nick, chan, random.choice(messages["ping"]).format(nick=nick, bot_nick=botconfig.NICK, cmd_char=botconfig.CMD_CHAR))
|
||||
reply(cli, nick, chan, random.choice(messages["ping"]).format(
|
||||
nick=nick,
|
||||
bot_nick=botconfig.NICK,
|
||||
cmd_char=botconfig.CMD_CHAR,
|
||||
goat_action=random.choice(messages["goat_actions"])))
|
||||
|
||||
@cmd("simple", raw_nick=True, pm=True)
|
||||
def mark_simple_notify(cli, nick, chan, rest):
|
||||
|
Loading…
Reference in New Issue
Block a user