DevPortal

Missing a Step

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #337
    ducky9924
    Participant

    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.
    #358
    Glaznah Gassner
    Keymaster

    Hello. I’m sorry for a late reply – we just did a Playgrounds update and I’ve noticed your message.
    Can you please check if everything is running ok?

    As far as I can see, bot was gathering group IMs successfully for the last few weeks.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.