NullReferenceException at GetAllChannelsError
Since the update today discord core doesnt work for me'.
I copied the latest Discord .dll
[Error] Failed to call hook 'SendMessageToChannel' on plugin 'DiscordCore v0.14.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.DiscordCore.GetAllChannels () [0x00000] in :0 at Oxide.Plugins.DiscordCore.GetChannel (System.String nameOrId) [0x00000] in :0
at Oxide.Plugins.DiscordCore.SendMessageToChannel (System.String channelNameOrId, System.String message) [0x00000] in :0
at Oxide.Plugins.DiscordCore.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in :0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0​
Can you try reloading the plugin and see if that fixes it? It might have bugged during startup for some odd reason. Also can you please confirm that it says it's connecting to your discord server once you reload it. It should appear around 5 seconds after reload.
Thanks for the quick reply!
I did that and now it works perfectly (like always)
This occurs whenever someone sends a message. It started after today's uMod update.
(14:43:09) | Failed to call hook 'SendMessageToChannel' on plugin 'DiscordCore v0.14.4' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.DiscordCore.GetAllChannels () [0x00000] in <ae0a14fe75a9465f8de83da6bfeb5df0>:0 
  at Oxide.Plugins.DiscordCore.GetChannel (System.String nameOrId) [0x0000d] in <ae0a14fe75a9465f8de83da6bfeb5df0>:0 
  at Oxide.Plugins.DiscordCore.SendMessageToChannel (System.String channelNameOrId, System.String message) [0x00000] in <ae0a14fe75a9465f8de83da6bfeb5df0>:0 
  at Oxide.Plugins.DiscordCore.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01d05] in <ae0a14fe75a9465f8de83da6bfeb5df0>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <98321e516fc1420ea57d4d2088213a59>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ac41dd3599754d448b8c218b34645820>:0
(14:44:03) | [Discord Extension] Invalid Session ID opcode recieved!
(14:44:03) | [Discord Extension] Discord socket opened!
(14:45:16) | [Discord Extension] Invalid Session ID opcode recieved!
(14:45:16) | [Discord Extension] Discord socket opened!
Discord is experiencing outages across all API services. This is not plugin related.
5d826ae6d4a1a.png WhiteDragon
Discord is experiencing outages across all API services. This is not plugin related.

The plugin could handle that though rather than NRE.