Fix !time not being usable in the join phase.
Previously, !time could be used in the join phase to see how much time was left before the game started. With my decorators overhaul I broke this feature. Adding this back in.
This commit is contained in:
parent
7e6e190a1e
commit
dbf614c0cc
@ -6194,7 +6194,7 @@ def pony(cli, nick, chan, rest):
|
||||
cmsg = "The pony lands on \2{0}\2.".format(pony)
|
||||
cli.msg(chan, cmsg)
|
||||
|
||||
@cmd("time", pm=True, game=True)
|
||||
@cmd("time", pm=True, game=True, join=True)
|
||||
def timeleft(cli, nick, chan, rest):
|
||||
"""Returns the time left until the next day/night transition."""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user