FabricMC / kotlin-fabric-discord-bot

The discord bot previously used in the fabric discord server.
MIT License
5 stars 7 forks source link

Track and reapply certain roles when a user leaves the server and later rejoins. #5

Closed i509VCB closed 3 years ago

i509VCB commented 4 years ago

This would help avoid cases such as users just leaving and rejoining to remove their own Muted or No Support roles. May also be useful for some management roles or tracking The Inquisition.

Scotsguy commented 3 years ago

Infraction-related roles (mutes) get reapplied when a user joins now. Code reference: https://github.com/FabricMC/fabric-discord-bot/blob/176e311346b186eb1761d13ded0320e4cc45b941/src/main/kotlin/net/fabricmc/bot/extensions/SyncExtension.kt#L203-L216