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("")
|
@pmcmd("")
|
||||||
def relay(cli, nick, rest):
|
def relay(cli, nick, rest):
|
||||||
if var.PHASE != "night":
|
"""Let the wolves talk to each other through the bot"""
|
||||||
return
|
if var.PHASE not in ("night", "day"):
|
||||||
|
return
|
||||||
|
|
||||||
badguys = var.ROLES["wolf"] + var.ROLES["traitor"] + var.ROLES["werecrow"]
|
badguys = var.ROLES["wolf"] + var.ROLES["traitor"] + var.ROLES["werecrow"]
|
||||||
if len(badguys) > 1:
|
if len(badguys) > 1:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user