@vicwalker.dev.br

Streamplace command list chatbot

Seja seu próprio chatbot no Streamplace respondendo comando !commands

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

Conditions

  • streamer equals {{self}} - Mensagem foi enviada no próprio canal
  • text equals !commands - Comando para lista de comandos

Actions (1)

Create a recordAction 1- Responde no chat a lista de comandos

Target Collection
place.stream.chat.message
Record Template
{
  "text": "{{commands}}",
  "$type": "place.stream.chat.message",
  "reply": {
    "root": {
      "cid": "{{event.commit.cid}}",
      "uri": "{{event.uri}}"
    },
    "parent": {
      "cid": "{{event.commit.cid}}",
      "uri": "{{event.uri}}"
    }
  },
  "streamer": "{{self}}",
  "createdAt": "{{now}}"
}