tmi.js
tmi.js copied to clipboard
Client send command fails with "No response from twitch"
Actual behaviour: Doing
client.mod(channel, user)
.then(() => { console.log('modded') })
.catch((err) => { console.log(err) })
Always results in No response from twitch even though I can see the message You have added xy as a moderator of this room. in debug mode.
Digging through source, the mod_success NOTICE does get fired, but either the response delay is more than 600ms or something doesn't get fired correctly.
Expected behaviour: I expect the promise to get resolved when a user is modded, and fail when the user does not get modded.
Server configuration
- Operating system: Linux (Ubuntu Server)
- Node version (if applicable): v6.9.0
- NPM version (if applicable): 4.0.3
- tmi.js version: 1.1.2
I also get the message [00:54] error: No response from Twitch. but it's on connection as an anonymous user without trying to send any commands