Sorry for late respond i test the new version and when they boost the server it will add on oxide group to, when it end the boost from discord on oxide group will still remain but when the player is joining or reconnect it will automatically check the role from discord and it will be removed.
So i think it should work.
Merged postgot error when i want to send message
(14:43:02) | [Discord Core Roles] Lang Key 'ServerMessageOxideGroupAdded' threw exception:
System.FormatException: Input string was not in a correct format.
at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x000ae] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.String.Format (System.String format, System.Object[] args) [0x00020] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Oxide.Plugins.DiscordCoreRoles.Lang (System.String key, Oxide.Core.Libraries.Covalence.IPlayer player, System.Object[] args) [0x0001c] in <7cf7356aaaf144b4ae1c0375b69f85b2>:0
(14:43:02) | [Discord Extension] [Exception]: Request callback raised an exception (FormatException: Input string was not in a correct format.)
at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x000ae] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.String.Format (System.String format, System.Object[] args) [0x00020] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Oxide.Plugins.DiscordCoreRoles.Lang (System.String key, Oxide.Core.Libraries.Covalence.IPlayer player, System.Object[] args) [0x00041] in <7cf7356aaaf144b4ae1c0375b69f85b2>:0
at Oxide.Plugins.DiscordCoreRoles.GetServerMessage (Oxide.Plugins.DiscordCoreRoles+SyncData sync, System.Boolean wasAdded) [0x000be] in <7cf7356aaaf144b4ae1c0375b69f85b2>:0
at Oxide.Plugins.DiscordCoreRoles.SendSyncNotification (System.String playerId, System.String discordId, Oxide.Plugins.DiscordCoreRoles+SyncData sync, System.Boolean wasAdded) [0x0004f] in <7cf7356aaaf144b4ae1c0375b69f85b2>:0
at Oxide.Plugins.DiscordCoreRoles.HandleDiscordRoles (System.String playerId, System.String discordId, System.Boolean isLeaving, Oxide.Ext.Discord.DiscordObjects.GuildMember member) [0x001d2] in <7cf7356aaaf144b4ae1c0375b69f85b2>:0
at Oxide.Plugins.DiscordCoreRoles.HandleUser (System.String playerId, System.String discordId, System.Boolean isLeaving, Oxide.Ext.Discord.DiscordObjects.GuildMember member) [0x00055] in <7cf7356aaaf144b4ae1c0375b69f85b2>:0
at Oxide.Plugins.DiscordCoreRoles+<ProcessNextStartupId>c__AnonStorey0.<>m__0 (Oxide.Ext.Discord.DiscordObjects.GuildMember member) [0x00000] in <7cf7356aaaf144b4ae1c0375b69f85b2>:0
at Oxide.Ext.Discord.REST.RestHandler+<>c__DisplayClass9_0`1[T].<DoRequest>b__0 (Oxide.Ext.Discord.REST.RestResponse response) [0x00013] in <62c756091a3144dfa2c3b28ad5ea06ab>:0
at Oxide.Ext.Discord.REST.Request.Fire (Oxide.Ext.Discord.REST.Bucket bucket) [0x000ef] in <62c756091a3144dfa2c3b28ad5ea06ab>:0
Merged postIf they leave the discord, the oxide group wil not delete.
Merged posterror from member to be removed
(17:25:42) | Failed to call hook 'Discord_MemberRemoved' on plugin 'DiscordCoreRoles v1.3.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.DiscordCoreRoles.Discord_MemberRemoved (Oxide.Ext.Discord.DiscordObjects.GuildMember member) [0x00000] in <3e6af4d0fd3241d3adc996a4a4080ff7>:0
at Oxide.Plugins.DiscordCoreRoles.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0072b] in <3e6af4d0fd3241d3adc996a4a4080ff7>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0