setdjtopic should also have feedback when a topic is set

This commit is contained in:
Robert Miles 2020-11-26 07:46:53 +00:00
parent 11c2b8e5b5
commit b746a18758
1 changed files with 1 additions and 0 deletions

View File

@ -347,6 +347,7 @@ class Module(ModuleManager.BaseModule):
topic = event["spec"][0]
event["user"].set_setting("tilderadio-djtopic", topic)
event["stdout"].write(f"Set {event['user'].nickname}'s DJ topic to \"{topic}\".")
@utils.hook("received.command.djtopic")
@utils.kwarg("help", "get the DJ topic for the active DJ or for any DJ")