tmi.js: Can't send a whisper because of my settings, not sure which though

Actual behaviour: It should send the streamer a whisper saying someone joined a discord voice call, but it returns the error that can be found below. I’m using these options:

groupOptions: {
            connection: {
                random: 'group' // found this online on an old thread
            },
            identity: {
                username: "botname",
                password: "token"
            },
}

Expected behaviour: It should send the streamer a whisper when someone joins the discord voice call.

Error log:

{
    "raw": "@msg-id=whisper_restricted;target-user-id=52660871 :tmi.twitch.tv NOTICE #tmijs :Your settings prevent you from sending this whisper.",
    "tags": {
        "msg-id": "whisper_restricted",
        "target-user-id": "52660871"
    },
    "prefix": "tmi.twitch.tv",
    "command": "NOTICE",
    "params": [
        "#tmijs",
        "Your settings prevent you from sending this whisper."
    ]
}

Server configuration

  • Operating system: Raspbian GNU/Linux 9
  • Node version (if applicable): 8.9.0
  • NPM version (if applicable): 5.5.1
  • tmi.js version: 1.2.1

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 18 (6 by maintainers)

Most upvoted comments

The only solution is a partial solution. Twitch wants to prevent abuse of the whisper system.

Here’s where it breaks down

  • You must request for validation in order to properly use the whisper system.
  • Users can block the bot.
  • Users can prevent receiving whispers. They must whisper the bot to open a temporary window.
  • The bot account also needs to have its settings open for receiving whispers.
  • Whispers in general are not reliable.

@AlcaDesign thanks for clarifying! I saw the validation/verification thing somewhere, perhaps here in the issue, applied for one right away hoping that will fix the whisper thing, will post if that is successful.