Add phase (day/night) to the roles stats line
This commit is contained in:
parent
7d4554b951
commit
a63c49ca4a
@ -554,10 +554,11 @@ def stats(cli, nick, chan, rest):
|
|||||||
message.append("\u0002{0}\u0002 {1}".format(count if count else "\u0002no\u0002", var.plural(role)))
|
message.append("\u0002{0}\u0002 {1}".format(count if count else "\u0002no\u0002", var.plural(role)))
|
||||||
else:
|
else:
|
||||||
message.append("\u0002{0}\u0002 {1}".format(count, role))
|
message.append("\u0002{0}\u0002 {1}".format(count, role))
|
||||||
stats_mssg = "{0}: There {3} {1}, and {2}.".format(nick,
|
stats_mssg = "{0}: It is currently {4}. There {3} {1}, and {2}.".format(nick,
|
||||||
", ".join(message[0:-1]),
|
", ".join(message[0:-1]),
|
||||||
message[-1],
|
message[-1],
|
||||||
vb)
|
vb,
|
||||||
|
var.PHASE)
|
||||||
if nick in pl or var.PHASE == "join":
|
if nick in pl or var.PHASE == "join":
|
||||||
cli.msg(chan, stats_mssg)
|
cli.msg(chan, stats_mssg)
|
||||||
var.LOGGER.logMessage(stats_mssg.replace("\02", ""))
|
var.LOGGER.logMessage(stats_mssg.replace("\02", ""))
|
||||||
|
Loading…
Reference in New Issue
Block a user