add new slogan

cf. tilderadio/site#19
This commit is contained in:
Ben Harris 2021-02-25 15:53:59 -05:00
parent 64b9597400
commit 79b9478faf
1 changed files with 4 additions and 1 deletions

View File

@ -49,6 +49,7 @@ SLOGANS = [
"that's not what she said!", "that's not what she said!",
"not product placement, we promise! (tildestore.com)", "not product placement, we promise! (tildestore.com)",
"no longer crashes on russian metadata", "no longer crashes on russian metadata",
"SYNTH TUBA JAZZ VOMIT",
] ]
EMAIL_TEMPLATE = """ EMAIL_TEMPLATE = """
{dj} just came on the air on tilderadio.org! {dj} just came on the air on tilderadio.org!
@ -347,7 +348,9 @@ class Module(ModuleManager.BaseModule):
topic = event["spec"][0] topic = event["spec"][0]
event["user"].set_setting("tilderadio-djtopic", topic) event["user"].set_setting("tilderadio-djtopic", topic)
event["stdout"].write(f"Set {event['user'].nickname}'s DJ topic to \"{topic}\".") event["stdout"].write(
f"Set {event['user'].nickname}'s DJ topic to \"{topic}\"."
)
@utils.hook("received.command.djtopic") @utils.hook("received.command.djtopic")
@utils.kwarg("help", "get the DJ topic for the active DJ or for any DJ") @utils.kwarg("help", "get the DJ topic for the active DJ or for any DJ")