How do I make the discord mee6 bot give roles based off of rank and level.?

How do I make it to where when you get to a certain level your old role is unassigned and new one is assigned.
1 answer 1