forked from ben/bitbot-modules
setdjtopic should also have feedback when a topic is set
This commit is contained in:
parent
11c2b8e5b5
commit
b746a18758
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue