I can`t send a message but I don´t get a error [IRC]

Your parser must be parser for PRIVMSG and sending those to your code to process as a message.

So you parser is either ignore or processing the other messages or emitting them to another event