Streamplace pix chatbot

Meu próprio chatbot no Streamplace respondendo comando !pix [duplique o modelo desativado no meu perfil no lugar desse para utilizar]

place.stream.chat.message
Lexicon
place.stream.chat.message
Operations
Record created

Conditions

  • streamer equals {{self}} - Mensagem foi enviada no meu canal
  • text equals !pix - Comando do pix

Actions (1)

Create a recordAction 1- Responde no chat o link para enviar pix

Target Collection
place.stream.chat.message
Record Template
{
  "text": "{{Pixie}} | {{PicPay}} | chave: {{ChavePix}}",
  "$type": "place.stream.chat.message",
  "facets": [
    {
      "index": {
        "byteEnd": 26,
        "byteStart": 0
      },
      "features": [
        {
          "uri": "{{Pixie}}",
          "$type": "app.bsky.richtext.facet#link"
        }
      ]
    },
    {
      "index": {
        "byteEnd": 58,
        "byteStart": 29
      },
      "features": [
        {
          "uri": "{{PicPay}}",
          "$type": "app.bsky.richtext.facet#link"
        }
      ]
    }
  ],
  "reply": {
    "root": {
      "cid": "{{event.commit.cid}}",
      "uri": "{{event.uri}}"
    },
    "parent": {
      "cid": "{{event.commit.cid}}",
      "uri": "{{event.uri}}"
    }
  },
  "streamer": "{{self}}",
  "createdAt": "{{now}}"
}