handle motd and privmsg