Add GetPresence function and fix irc commands bug