Failed to call hook 'OnDiscordGuildMessageCreated'
Failed to call hook 'OnDiscordGuildMessageCreated' on plugin 'DiscordStatus v4.0.1' (IndexOutOfRangeException: Index was outside the bounds of the array.)
  at Oxide.Plugins.DiscordStatus.OnDiscordGuildMessageCreated (Oxide.Ext.Discord.Entities.Messages.DiscordMessage message) [0x0002c] in <d776bb625da643cbacef713f0a337271>:0 
  at Oxide.Plugins.DiscordStatus.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0016c] in <d776bb625da643cbacef713f0a337271>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0 

 

I get this error when I send a message via discord and the server uses the discord chat plugin

https://umod.org/plugins/discord-chat

Today i got this in console:

Could not initialize plugin 'DiscordStatus v4.0.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Ext.Discord.WebSockets.Socket.Disconnect (System.Boolean attemptReconnect, System.Boolean shouldResume, System.Boolean requested) [0x00092] in <04348bf9a35746d283d4a8b439245576>:0
at Oxide.Ext.Discord.WebSockets.Socket.Shutdown () [0x00001] in <04348bf9a35746d283d4a8b439245576>:0
at Oxide.Ext.Discord.BotClient.ShutdownBot () [0x0003a] in <04348bf9a35746d283d4a8b439245576>:0
at Oxide.Ext.Discord.BotClient.RemoveClient (Oxide.Ext.Discord.DiscordClient client) [0x00032] in <04348bf9a35746d283d4a8b439245576>:0
at Oxide.Ext.Discord.DiscordClient.Disconnect () [0x00029] in <04348bf9a35746d283d4a8b439245576>:0
at Oxide.Ext.Discord.DiscordClient.CloseClient (Oxide.Ext.Discord.DiscordClient client) [0x0000f] in <04348bf9a35746d283d4a8b439245576>:0
at Oxide.Ext.Discord.DiscordClient.OnPluginRemoved (Oxide.Core.Plugins.Plugin plugin) [0x0001d] in <04348bf9a35746d283d4a8b439245576>:0
at Oxide.Ext.Discord.DiscordClient.OnPluginAdded (Oxide.Core.Plugins.Plugin plugin) [0x00001] in <04348bf9a35746d283d4a8b439245576>:0
at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00038] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0
at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00035] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0
No previous version to rollback plugin: DiscordStatus