Add !ping in PM (always replies pong)
This commit is contained in:
parent
7439aa8f7b
commit
37606dde4f
@ -241,6 +241,11 @@ def restart_program(cli, nick, *rest):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@pmcmd("ping")
|
||||||
|
def pm_ping(cli, nick, rest):
|
||||||
|
pm(cli, nick, 'Pong!')
|
||||||
|
|
||||||
|
|
||||||
@cmd("ping")
|
@cmd("ping")
|
||||||
def pinger(cli, nick, chan, rest):
|
def pinger(cli, nick, chan, rest):
|
||||||
"""Pings the channel to get people's attention. Rate-Limited."""
|
"""Pings the channel to get people's attention. Rate-Limited."""
|
||||||
|
Loading…
Reference in New Issue
Block a user