Streamplace link chatbot (linkat)
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://linkat.blue/vicwalker.dev.br- Note
- [EDITAR] URL, precisa incluir https://
tamanhoUrl- Value
36- 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!linkat- Comando - or
event.commit.record.textequals!atproto- Comando - or
event.commit.record.textequals!atmosphere- Comando - or
event.commit.record.textequals!atmosfera- Comando - or
event.commit.record.textequals!at- 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": 36, "byteStart": 0 } } ], "reply": { "parent": { "cid": "{{event.commit.cid}}", "uri": "{{event.uri}}" }, "root": { "cid": "{{event.commit.cid}}", "uri": "{{event.uri}}" } }, "streamer": "{{self}}", "text": "{{url}}" }