Streamplace song chatbot
Be your own Streamplace chatbot to say which song you are listening to (works with Rocksky)
place.stream.chat.message- Lexicon

place.stream.chat.message- Operations
- Record created
Steps (4)
- Continue only if
event.commit.record.streamerequals{{self}}- Chat message was sent in my channel - and
event.commit.record.textequals!song- Song command
SongActor- Fetches current song from Rocksky- Lookup
at://{{self}}/app.rocksky.actor.status/self
- Continue only if
SongActor.foundequalstrue
Create a recordAction 1action1- Post the current song name in my stream chat
- Target Collection

place.stream.chat.message- Record Template
{ "text": "Now playing: '{{SongActor.record.track.name}}' - {{SongActor.record.track.artist}} ({{SongActor.record.track.album}})", "$type": "place.stream.chat.message", "streamer": "{{self}}", "createdAt": "{{now}}" }