Each time you post a message you get a random
number of XP
between 15 and 25.
To avoid flood, you can only gain xp once per minute.
In the server, you can type !rank
to get your rank and your level.
Information on how to earn roles is available at http://discord.moe/?page_id=67