Essentials
Essentials copied to clipboard
[Discord] Roles being removed when relogging
Type of bug
Other unexpected behaviour
/ess dump all output
https://essentialsx.net/dump.html?id=e4b8aa73e8d9433889bcbb107419fc85
Error log (if applicable)
No response
Bug description
After using /link to connect your Discord account to your MC account, the role given to your Discord account will be removed/added back when you relog.
Steps to reproduce
- /link your account
- Log out and back in
- See role removed
- Log out and back in
- See role added back etc.
Expected behaviour
For the role to remain linked to the user after they have linked accounts
Actual behaviour
The role does not remain permanently linked to the user
Note: the role that is assigned to verified users is removed for any user who is verified. So if I relog, the 8 verified people would all lose the Discord role. If I relog again, then they'll all get it back.