Streamplace command donate goal

Be your own Streamplace chatbot replying to !goal

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

Steps (4)

Variablegoal
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 !goal - 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": "{{goal}}"
}