Streamplace link chatbot (youtube)
Seja seu próprio chatbot no Streamplace respondendo comandos
place.stream.chat.message- Lexicon

place.stream.chat.message- Operations
- Record created
Steps (5)
url- Value
https://youtube.com/c/@VictoriaWalker8- Note
- [EDITAR] URL, precisa incluir https://
tamanhoUrl- Value
38- Note
- [EDITAR] Conte exatamente quantos caracteres a sua URL tem, o valor precisa ser editado aqui e no campo "byteEnd" mais abaixo
- If
event.commit.record.streamerequals{{self}}- Mensagem foi enviada no próprio canal
Then
- If
event.commit.record.textequals!youtube- Comando - or
event.commit.record.textequals!yt- Comando curto
Then
Create a recordAction 1
- Target Collection

place.stream.chat.message- Record Template
{ "createdAt": "{{now}}", "facets": [ { "features": [ { "$type": "app.bsky.richtext.facet#link", "uri": "{{url}}" } ], "index": { "byteEnd": 38, "byteStart": 0 } } ], "reply": { "parent": { "cid": "{{event.commit.cid}}", "uri": "{{event.uri}}" }, "root": { "cid": "{{event.commit.cid}}", "uri": "{{event.uri}}" } }, "streamer": "{{self}}", "text": "{{url}}" }