fix a wolf relay bug
This commit is contained in:
parent
2df8db9d95
commit
eb119591da
@ -1879,8 +1879,9 @@ def mass_privmsg(cli, targets, msg):
|
||||
|
||||
@pmcmd("")
|
||||
def relay(cli, nick, rest):
|
||||
if var.PHASE != "night":
|
||||
return
|
||||
"""Let the wolves talk to each other through the bot"""
|
||||
if var.PHASE not in ("night", "day"):
|
||||
return
|
||||
|
||||
badguys = var.ROLES["wolf"] + var.ROLES["traitor"] + var.ROLES["werecrow"]
|
||||
if len(badguys) > 1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user