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
|
||||
|
||||
if var.PHASE in ('night','day'):
|
||||
cli.notice(nick, "You cannot use this command while a game is running.")
|
||||
return
|
||||
#cli.notice(nick, "You cannot use this command while a game is running.")
|
||||
#return
|
||||
cli.notice(nick, 'Pong!')
|
||||
|
||||
var.LAST_PING = datetime.now()
|
||||
if var.PINGING:
|
||||
|
Loading…
Reference in New Issue
Block a user