I cant send whisper to a user from irc

Bot’s cannot send “unsolicited whispers”

A “unsolicited whisper conversation” is one that is initiated by a bot.

Bots should generally reply to a user in the same medium that they asked.

IE if command is run in a channel, run it in the channel, if a whisper in a whisper.

See also Have a chat/whisper bot? Let us know! and many many threads about the “issue”