Streamplace chatbot (chave pix)
Seja seu próprio chatbot no Streamplace respondendo comandos
place.stream.chat.message- Lexicon

place.stream.chat.message- Operations
- Record created
Steps (4)
chave- Value
[email protected]- Note
- Chave Pix de sua escolha
- If
event.commit.record.streamerequals{{self}}- Mensagem foi enviada no próprio canal
Then
- If
event.commit.record.textequals!chave- Comando - or
event.commit.record.textequals!chavepix- Comando - or
event.commit.record.textequals!chavePix- Comando
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": "Chave pix: {{chave}} (não exibe alertas na live, sem limitação de valor mínimo)" }