adding type signatures to Cmds.hs

Added type signatures to explain what write, privmsg, and action do