Hi!
I’m trying to setup a simple group chat responder. I’ve created a script that does the following:
—————————————–
Bot.on(“group_im”, function(event){
console.log(“Bot is listening, to group chat:” + event.message);
if (event.message == “!Test”) { Bot.sendGroupIM(event.group_uuid, “Test Message”);} });
—————————————–
It doesn’t seem to DO anything when anyone speaks in chat. Am I missing a step? Do I need to enable something or attach something for playground scripts to work?
-
This topic was modified 6 years, 3 months ago by ducky9924.