Make !ping reply 'Pong!' in-game
This commit is contained in:
parent
358788e893
commit
8e0468c5d4
@ -251,8 +251,9 @@ def pinger(cli, nick, chan, rest):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if var.PHASE in ('night','day'):
|
if var.PHASE in ('night','day'):
|
||||||
cli.notice(nick, "You cannot use this command while a game is running.")
|
#cli.notice(nick, "You cannot use this command while a game is running.")
|
||||||
return
|
#return
|
||||||
|
cli.notice(nick, 'Pong!')
|
||||||
|
|
||||||
var.LAST_PING = datetime.now()
|
var.LAST_PING = datetime.now()
|
||||||
if var.PINGING:
|
if var.PINGING:
|
||||||
|
Loading…
Reference in New Issue
Block a user