tmijs / tmi.js

💬 Javascript library for the Twitch Messaging Interface. (Twitch.tv)
https://tmijs.com
MIT License
1.54k stars 217 forks source link

[#tmijs] That user's settings prevent them from receiving this whisper. #388

Closed AppiChudilko closed 3 years ago

AppiChudilko commented 4 years ago

How i can get callback this debug log? If user close pm Because i see it: [#tmijs] That user's settings prevent them from receiving this whisper. Im close pm for testing

client.whisper('crazyappi', `TEST MESSAGE`)
    .then((data) => {
        console.log('DATA_TRY') //i see it everywhere, after i see debug TMI ([#tmijs] That user's settings prevent them from receiving this whisper.)
        console.log(data)
    }).catch((err) => {
    console.log('ERROR_FUCKING_ERROR')
    console.log(err)
});
ghost commented 4 years ago

You are going to need a known or verified bot to whisper.

https://dev.twitch.tv/docs/irc/guide#known-and-verified-bots

FoseFx commented 4 years ago

Can this be closed?

AlcaDesign commented 4 years ago

Can this be closed?

It's not resolved. The message still needs to be caught and reject the whisper. (Assuming that's not happening) PRs/test IRC strings are welcome.