Unable to whisper via IRC...username not found?


A while ago i created a simple IRC bot based off of VikingBot, and it has been working fine, able to get chat messages and send messages, however I am unable to send a private message (whisper) to a user.

Here is a excerpt from my logs:

[10.Mar.17 20:25:39] :tmi.twitch.tv 375 cubpletionbot :-
[10.Mar.17 20:25:39] :tmi.twitch.tv 372 cubpletionbot :You are in a maze of twisty passages, all alike.
[10.Mar.17 20:25:40] Joining channel #cubpletionist
[10.Mar.17 20:25:40] JOIN #cubpletionist
[10.Mar.17 20:25:42] CAP REQ :twitch.tv/commands
[10.Mar.17 20:25:42] :tmi.twitch.tv 376 cubpletionbot :>
[10.Mar.17 20:25:42] :cubpletionbot!cubpletionbot@cubpletionbot.tmi.twitch.tv JOIN #cubpletionist
[10.Mar.17 20:25:42] :cubpletionbot.tmi.twitch.tv 353 cubpletionbot = #cubpletionist :cubpletionbot
[10.Mar.17 20:25:42] :cubpletionbot.tmi.twitch.tv 366 cubpletionbot #cubpletionist :End of /NAMES list
[10.Mar.17 20:25:42] :tmi.twitch.tv CAP * ACK :twitch.tv/commands
[10.Mar.17 20:25:51] :smileytechguy!smileytechguy@smileytechguy.tmi.twitch.tv PRIVMSG #cubpletionist :!ping
[10.Mar.17 20:25:51] PRIVMSG #cubpletionist :smileytechguy: Pong
[10.Mar.17 20:25:51] :tmi.twitch.tv USERSTATE #cubpletionist
[10.Mar.17 20:25:54] :smileytechguy!smileytechguy@smileytechguy.tmi.twitch.tv PRIVMSG #cubpletionist :!help
[10.Mar.17 20:25:54] PRIVMSG #cubpletionist :smileytechguy: tbd help command
[10.Mar.17 20:25:54] PRIVMSG smileytechguy :/w smileytechguy: test PM.
[10.Mar.17 20:25:54] DEBUG: from: smileytechguy channel: #cubpletionist command: !help
[10.Mar.17 20:25:54] :tmi.twitch.tv USERSTATE #cubpletionist
[10.Mar.17 20:25:54] :tmi.twitch.tv USERSTATE #cubpletionist
[10.Mar.17 20:25:54] :tmi.twitch.tv NOTICE smileytechguy :No user matching that login.

However, it reports that no user matches “smileytechguy”, even though it is the one which sent the command

What should I do to resolve this error?

According to previous threads, the CAP REQ :twitch.tv/commands is required, that is why it is there.

You’re trying to send the command to a channel smileytechguy, which does not exist as all channels are #username. Send the /w to a channel that exists.

1 Like

Alright, I did this:
Now my command is
PRIVMSG #cubpletionist :/w smileytechguy: test PM.
Now, I get
:tmi.twitch.tv NOTICE #cubpletionist :No user matching that login. in return

What would a sample whisper look like?

Try removing that second : after the login.

PRIVMSG #cubpletionist :/w smileytechguy test PM.


It worked, thanks a lot!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.