Adds config option for giving discord members roles if they have blockbot.sync.<group_id> permission in-game.
Adds blockbot.sync.name permission (enabled by default) to disable name syncing for specific players
This also removes the check if the bot is higher than the edited member, because it doesn't seem to be an appropriate metric for measuring if the bot is allowed (The bot also needs permission and, from testing, can't edit the server owner). The check has been replaced with a catch for RestRequestException (I don't know if the API provides any proper way to check if the bot is allowed to perform an action)
blockbot.sync.<group_id>
permission in-game.blockbot.sync.name
permission (enabled by default) to disable name syncing for specific playersThis also removes the check if the bot is higher than the edited member, because it doesn't seem to be an appropriate metric for measuring if the bot is allowed (The bot also needs permission and, from testing, can't edit the server owner). The check has been replaced with a catch for
RestRequestException
(I don't know if the API provides any proper way to check if the bot is allowed to perform an action)