Hi
The problem is, that the Discord bot is gone randomly. Sometimes after a few Minutes and sometimes after hours. Now i reload the Plugin scheduled every 15 Minutes but that is just a workaround.
What i see in the logs sometimes is this:
But at that moment the Discord Bot is gone, there isnt any error or message.
Any solution?
The problem is, that the Discord bot is gone randomly. Sometimes after a few Minutes and sometimes after hours. Now i reload the Plugin scheduled every 15 Minutes but that is just a workaround.
What i see in the logs sometimes is this:
04:09 [Error] Failed to call hook 'OnServerInitialized' on plugin 'DiscordRewards v1.0.0' (TypeLoadException: Could not load type of field 'Oxide.Ext.Discord.Discord+<>c__DisplayClass5_0:<>9__1' (2) due to: Could not load file or assembly 'LinqBridge, Version=1.3.0.0, Culture=neutral, PublicKeyToken=c2b14eb747628076' or one of its dependencies. assembly:LinqBridge, Version=1.3.0.0, Culture=neutral, PublicKeyToken=c2b14eb747628076 type:<unknown type> member:(null) signature:<none>)
at Oxide.Ext.Discord.Discord.CreateClient (Oxide.Core.Plugins.Plugin plugin, System.String apiKey) [0x0002e] in <96b43c9563a641a3bfbbd4f925eda398>:0
at Oxide.Plugins.DiscordRewards.OnServerInitialized () [0x00000] in <f05eda7fbf8d4c5cbe39c40653c7d28f>:0
at Oxide.Plugins.DiscordRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0005b] in <f05eda7fbf8d4c5cbe39c40653c7d28f>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
But at that moment the Discord Bot is gone, there isnt any error or message.
Any solution?