Dominance role assignment in Discord
A long long time ago FRTools's discord bot had the ability to automatically assign a dominance role to the winners of the weekly dom calculation, based on their server's flight roles. This feature got put on the back burner when I was forced to rewrite the entire thing to make it compatible with a much cheaper hosting option.
I quite frankly forgot about it.
But it was requested recently so I went to investigate how I could tackle this, whether an offline bot could even do things like role assignments. Turns out; they can!
So a few evenings of coding, refactoring and fixing some bugs this feature is now back once more as part of the FRTools discord bot.
I did not have the time, yet, to make a fancy setup like it used to have but that shouldn't stop anyone from setting it up in individual steps. Enabling dominance role assignment is done in 4 steps, 3 of which need to be done by an someone with the ADMINISTRATOR permission.
Oh and make sure that FRTools has the MANAGE_ROLES permission or it can't assign roles. Also make sure the dom role is lower in rank than any of the roles you assigned to the bot.
/config dominance dom_role <your dom role>
/config dominance flight_roles <your flight roles>
/config dominance dom_enable
Then every user who wants to have the dom role assigned to them needs to perform:
Simple enough to use I hope? Of course, an admin can turn the system off by using /config dominance dom_disable. And a user can opt out using /dominance opt_out.
Additionally there is an admin command to manually run the role assignment, useful if you have a bunch of new people or if you enabled the system after dom calculation: