Streamplace command list chatbot (games)

Be your own Streamplace chatbot replying to !commands with a list of chat commands of your choice

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

Steps (4)

Variablecommands
Value
Hidden
Note
Commands available for the "chatbot"
Conditionbranch
  • If event.commit.record.streamer equals {{self}} - Chat message was sent in my channel
Then
Conditionbranch
  • If event.commit.record.text equals !games - Command to show the commands list
  • or event.commit.record.text equals !jogos - Command to show the commands list
Then

Create a recordAction 1

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