tmijs / tmi.js

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

Could not parse NOTICE: bad_host_error #124

Closed zoton2 closed 8 years ago

zoton2 commented 8 years ago

Didn't actually know this error existed but my hosting bot got stuck just now and I checked in my logs and had this NOTICE a couple of times last month as well. Seems quite rare, but would be nice to have parsed anyway. Also I filled in the issues template below but I don't think it's really needed.

Actual behaviour: The notice is not parsed.

Expected behaviour: For this NOTICE to be parsed (and be used in any relevant promises).

Error log:

warn: Could not parse NOTICE from tmi.twitch.tv:
{
    "raw": "@msg-id=bad_host_error :tmi.twitch.tv NOTICE #channel :There was a problem hosting channel_to_host. Please try again in a minute.",
    "tags": {
        "msg-id": "bad_host_error"
    },
    "prefix": "tmi.twitch.tv",
    "command": "NOTICE",
    "params": [
        "#channel",
        "There was a problem hosting channel_to_host. Please try again in a minute."
    ]
}

Server configuration

Schmoopiie commented 8 years ago

Fixed in 1.0.0, I will leave this issue opened to prevent duplicates.