refactor Privmsg/Notice