now you can't !ping in game
This commit is contained in:
parent
b0eab1acce
commit
3d265ea6f3
@ -236,6 +236,10 @@ def pinger(cli, nick, chan, rest):
|
|||||||
"Please wait a while before using it again."))
|
"Please wait a while before using it again."))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if var.PHASE in ('night','day'):
|
||||||
|
cli.notice(nick, "You cannot use this command while a game is running.")
|
||||||
|
return
|
||||||
|
|
||||||
var.LAST_PING = datetime.now()
|
var.LAST_PING = datetime.now()
|
||||||
var.PINGING = True
|
var.PINGING = True
|
||||||
TO_PING = []
|
TO_PING = []
|
||||||
|
Loading…
Reference in New Issue
Block a user