const target = args[1]; client.timeout(channel, target, 300).then(function(data) { client.say(channel,/me 1000 Points been Spend on to Timeout ${target} on next 300 Secounds) }).catch(function(err) { client.say(channel,/me ${target} Already Timeout this channel. and you Wasted 1000 Points Timeout this User!`)
});
`
Error log:
`
[19:22] info: [#chisdealhdyt] : *!redeem timeout multikillerjp
PaidRank Data Transfered
Stats been Updated to SQL!
[19:22] info: [#chisdealhdyt] Executing command: /timeout multikillerjp 300
[19:22] warn: Could not parse NOTICE from tmi.twitch.tv:
{
"raw": "@msg-id=invalid_user :tmi.twitch.tv NOTICE #chisdealhdyt :Invalid username: multikillerjp",
"tags": {
"msg-id": "invalid_user"
},
"prefix": "tmi.twitch.tv",
"command": "NOTICE",
"params": [
"#chisdealhdyt",
"Invalid username: multikillerjp"
]
}
`
Server configuration
Operating system: windwos 10
Node version (if applicable): 12.13.1
NPM version (if applicable): 6.13.0
tmi.js version: ^1.5.0
NOTE: i trying find this message from so i can put this on format mode say false statement.
my code is strict hiden because copyrighted by myself using database, and so much callouts to other platforms like discord, twitch, mixer, dlive and youtube.
this only happens when username not found but i cant give it false statement user not found because i don't know val that calling out form and format give it.
what im planning do is i going do if (Path to error begins as not found == "invalid_user") return console.log("USER NOT FOUND"); but i don't know where this calling out from.
Actual behaviour:
[19:22] warn: Could not parse NOTICE from tmi.twitch.tv: { "raw": "@msg-id=invalid_user :tmi.twitch.tv NOTICE #chisdealhdyt :Invalid username: multikillerjp", "tags": { "msg-id": "invalid_user" }, "prefix": "tmi.twitch.tv", "command": "NOTICE", "params": [ "#chisdealhdyt", "Invalid username: multikillerjp" ] }
Expected behaviour:
const target = args[1]; client.timeout(channel, target, 300).then(function(data) { client.say(channel,
/me 1000 Points been Spend on to Timeout ${target} on next 300 Secounds) }).catch(function(err) { client.say(channel,
/me ${target} Already Timeout this channel. and you Wasted 1000 Points Timeout this User!`) });`
Error log: `
[19:22] info: [#chisdealhdyt]: *!redeem timeout multikillerjp
PaidRank Data Transfered
Stats been Updated to SQL!
[19:22] info: [#chisdealhdyt] Executing command: /timeout multikillerjp 300
[19:22] warn: Could not parse NOTICE from tmi.twitch.tv:
{
"raw": "@msg-id=invalid_user :tmi.twitch.tv NOTICE #chisdealhdyt :Invalid username: multikillerjp",
"tags": {
"msg-id": "invalid_user"
},
"prefix": "tmi.twitch.tv",
"command": "NOTICE",
"params": [
"#chisdealhdyt",
"Invalid username: multikillerjp"
]
}
`
Server configuration
NOTE: i trying find this message from so i can put this on format mode say false statement.
my code is strict hiden because copyrighted by myself using database, and so much callouts to other platforms like discord, twitch, mixer, dlive and youtube.
this only happens when username not found but i cant give it false statement user not found because i don't know val that calling out form and format give it.
what im planning do is i going do
if (Path to error begins as not found == "invalid_user") return console.log("USER NOT FOUND");
but i don't know where this calling out from.