forked from ben/bitbot-modules
print current songs in green while dj online
This commit is contained in:
parent
6ced952c6f
commit
5ffd16c225
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue