Exiled-Team / DiscordIntegration

GNU General Public License v3.0
13 stars 37 forks source link

Revoking SyncedRoles doesn't work #51

Closed Underlyingglitch closed 2 years ago

Underlyingglitch commented 3 years ago

I am using this plugin for logging, playercount and remote commands. I also started using the plugin to sync roles with Discord. I added all the roles we have in SCP and Discord with the di add rol (id of role in discord) (name of role in SCP) command

I then added users with the di add user command. This works fine, I don't even have to restart the server, but the next time this user joins the server (or the round restarts) the new role is granted.

Problem is, when I either remove the role in Discord, or run the di remvee user command, it won't remove their status in SCP, I have to restart the server for the changes to take effect.

I tried to avoid that part by using this plugin. Is there something I'm doing wrong?

Worth mentioning: I tried running the di reload command, but even though it says "[3:38:30 PM] Bot configs reload request sent successfully. Language reloaded successfully! Bot synced roles reload request sent successfully." It didn't actually change anything

If I check the synced_roles.yml file, the changes are visible, but not reflected in the game. The user still has their special badge and their permissions to use RA.

Underlyingglitch commented 3 years ago

If I need to provide certain logs or anything, let me know!