print current songs in green while dj online

This commit is contained in:
Ben Harris 2020-07-13 10:25:43 -04:00
parent 6ced952c6f
commit 5ffd16c225
1 changed files with 4 additions and 1 deletions

View File

@ -129,7 +129,9 @@ class Module(ModuleManager.BaseModule):
target=channel,
module_name="Tilderadio",
server=server,
message=now_playing,
message=utils.irc.color(
self.format_nowplaying(), utils.consts.GREEN
),
)
@utils.hook("received.command.np", alias_of="nowplaying")
@ -217,6 +219,7 @@ class Module(ModuleManager.BaseModule):
event["stdout"].write(random.choice(SLOGANS))
@utils.hook("received.command.toot")
@utils.kwarg("require_mode", "v")
@utils.kwarg("help", "send a toot from the tilderadio mastodon account")
@utils.spec("!<status>string")
def toot(self, event):