Streamplace comando de meta de doação

Be your own Streamplace chatbot replying to !meta

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

Steps (4)

Variablemeta
Value
Hidden
Note
Text the "bot" will reply
Conditionbranch
  • If event.commit.record.streamer equals {{self}} - Chat message was sent in my channel
Then
Conditionbranch
  • If event.commit.record.text equals !meta - Command to show the commands list
Then

Create a recordAction 1

Target Collection
place.stream.chat.message
Record Template
{
  "createdAt": "{{now}}",
  "reply": {
    "$type": "place.stream.chat.message#replyRef",
    "parent": {
      "$type": "com.atproto.repo.strongRef",
      "cid": "{{event.commit.cid}}",
      "uri": "{{event.uri}}"
    },
    "root": {
      "$type": "com.atproto.repo.strongRef",
      "cid": "{{event.commit.cid}}",
      "uri": "{{event.uri}}"
    }
  },
  "streamer": "{{self}}",
  "text": "{{meta}}"
}