Add another ping message
This commit is contained in:
parent
b3c8fd562a
commit
e27cb0c1e0
@ -615,7 +615,7 @@ def restart_program(cli, nick, chan, rest):
|
|||||||
@cmd("ping", pm=True)
|
@cmd("ping", pm=True)
|
||||||
def pinger(cli, nick, chan, rest):
|
def pinger(cli, nick, chan, rest):
|
||||||
"""Check if you or the bot is still connected."""
|
"""Check if you or the bot is still connected."""
|
||||||
message = random.choice(var.PING_MESSAGES)
|
message = random.choice(var.PING_MESSAGES).format(nick=nick)
|
||||||
|
|
||||||
if chan == nick:
|
if chan == nick:
|
||||||
pm(cli, nick, message)
|
pm(cli, nick, message)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user