LengoLabs / qbot

Qbot is an advanced, easy to setup, free, and unbranded Discord-Roblox ranking bot. If at any time during setting it up you need assistance, you can join the support server.
https://discord.gg/J47m7t4
MIT License
77 stars 138 forks source link

Add role locking support #122

Closed sv-du closed 1 year ago

sv-du commented 2 years ago

This PR adds the ability for one to "lock" roles, thus making it that any ranking commands will refuse to rank people to that role

In case you're curious, here's what the different commands do in case of a locked rank

If there are any bugs, please let me know

zgr2575 commented 1 year ago

This would be very easy to implement on our own,

` // this is not actual code useable within QBot

if (personsRank +1 == ranktoskip){ rank(Use, personsRank + 2);

} `