Fix wrong revealroles message for driven away ghosts (fixes #141)
This commit is contained in:
parent
7cc9045181
commit
1af340a3cb
@ -7476,8 +7476,9 @@ if botconfig.DEBUG_MODE or botconfig.ALLOWED_NORMAL_MODE_COMMANDS:
|
|||||||
|
|
||||||
# print out vengeful ghosts, also vengeful ghosts that were driven away by 'retribution' totem
|
# print out vengeful ghosts, also vengeful ghosts that were driven away by 'retribution' totem
|
||||||
if var.VENGEFUL_GHOSTS:
|
if var.VENGEFUL_GHOSTS:
|
||||||
output.append("\u0002dead vengeful ghost\u0002: {0}".format(', '.join(["{0} (against {1})".format(
|
output.append("\u0002dead vengeful ghost\u0002: {0}".format(", ".join("{0} ({1}against {2})".format(
|
||||||
nickname, team.replace("!", "driven away, ")) for (nickname,team) in var.VENGEFUL_GHOSTS.items()])))
|
ghost, team.startswith("!") and "driven away, " or "", team.lstrip("!"))
|
||||||
|
for (ghost, team) in var.VENGEFUL_GHOSTS.items())))
|
||||||
|
|
||||||
#show bitten users + days until turning
|
#show bitten users + days until turning
|
||||||
if var.BITTEN: # and sum(var.BITTEN.values()) > 0:
|
if var.BITTEN: # and sum(var.BITTEN.values()) > 0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user