A way to set default chat mode

In some other MMOs, there's often an option to set your default chat mode to, say guild chat, so that you don't have to keep typing /g before every line. I think there should be a text command to let you do this like "/chat guild", "/cg" which would put you in guild chat by default when you press enter to start typing.