Rewarding deprecated

The rewarding system isn't working anymore on the main bot. I'm keeping this page for private bot instances which can still use it them.
Here is the rewarding command list:
Manage ranks giving / removal
Configure the role that will be given to a member when they reach a certain amount of invites.
/addRank <numberofinvites> <@roletogive> [Role explaination message]
Gives the list of ranks that are obtenable with invites number.
Know the number of invites a user has on the server.
/refreshRanks [@user | @rank | all]
Remove a rank previously created with the addRank command.
/removeRank <@role | rankId>