NullReferenceException at GetChannelNot An Issue
(09:09:54) | Failed to call hook 'OnDeathNotice' on plugin 'Rustcord v1.1.9' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Ext.Discord.DiscordObjects.Channel.GetChannel (Oxide.Ext.Discord.DiscordClient client, System.String channelID, System.Action`1[T] callback) [0x00001] in <8623905c616349b49594ebac36d5c08b>:0

at Oxide.Plugins.Rustcord+<OnDeathNotice>c__AnonStorey3.<>m__0 (Oxide.Plugins.Rustcord+Settings+Channel ch) [0x00011] in <917fc5e6994e49d5890825c5c906880e>:0

at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <ac823e2bb42b41bda67924a45a0173c3>:0

at Oxide.Plugins.Rustcord.OnDeathNotice (System.Collections.Generic.Dictionary`2[TKey,TValue] data, System.String message) [0x000f7] in <917fc5e6994e49d5890825c5c906880e>:0

at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00297] in <917fc5e6994e49d5890825c5c906880e>: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
looks like this is getting spammed in the console when i load the plugin or when someone writes in chat
Noticed an error:
Failed to call hook 'OnPlayerDisconnected' on plugin 'Rustcord v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Ext.Discord.DiscordObjects.Channel.GetChannel (Oxide.Ext.Discord.DiscordClient client, System.String channelID, System.Action`1[T] callback) [0x00001] in <8623905c616349b49594ebac36d5c08b>:0 

  at Oxide.Plugins.Rustcord+<OnPlayerDisconnected>c__AnonStorey2.<>m__0 (Oxide.Plugins.Rustcord+Settings+Channel ch) [0x00011] in <c70469aa148d4ab5a241df2ad1c5c345>:0 

  at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <ac823e2bb42b41bda67924a45a0173c3>:0 

  at Oxide.Plugins.Rustcord.OnPlayerDisconnected (BasePlayer player, System.String reason) [0x0006e] in <c70469aa148d4ab5a241df2ad1c5c345>:0 

  at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00226] in <c70469aa148d4ab5a241df2ad1c5c345>: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 ​
 Failed to call hook 'OnPlayerChat' on plugin 'Rustcord v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Ext.Discord.DiscordObjects.Channel.GetChannel (Oxide.Ext.Discord.DiscordClient client, System.String channelID, System.Action`1[T] callback) [0x00001] in <a5b2f558069e40f7b83de551a4df08a5>:0 
  at Oxide.Plugins.Rustcord+<OnPlayerChat>c__AnonStorey0.<>m__0 (Oxide.Plugins.Rustcord+Settings+Channel ch) [0x00011] in <881e6a4d99f143a0aba999957aa8c7af>:0 
  at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <ac823e2bb42b41bda67924a45a0173c3>:0 
  at Oxide.Plugins.Rustcord.OnPlayerChat (ConsoleSystem+Arg arg) [0x0012b] in <881e6a4d99f143a0aba999957aa8c7af>:0 
  at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001cd] in <881e6a4d99f143a0aba999957aa8c7af>: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
 Protocol: 2164.178.1
Build Date: 05/10/2019 09:05:44
Unity Version: 2018.3.3f1
Changeset: 35165
Branch: release
Oxide.Rust Version: 2.0.4203

(16:22:07) | Unloaded plugin Rustcord v1.2.0 by Kirollos & OuTSMoKE

(16:22:08) | Loaded plugin Rustcord v1.2.0 by Kirollos & OuTSMoKE

(16:22:17) | [Discord Ext] Discord connection closed uncleanly: code 1005, Reason:

(16:22:17) | [Discord Ext] Attempting to reconnect to Discord...

(16:22:17) | [Discord Ext] An error has occured: Response: An exception has occurred during the OnClose event.

(16:22:17) | **x disconnecting: disconnect

(16:23:28) | [EAC] Kicking * (Excessive packet loss)

(16:24:20) | server.url: link

(16:24:25) | ***has entered the game

(16:24:44) | Failed to call hook 'OnPlayerChat' on plugin 'Rustcord v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Ext.Discord.DiscordObjects.Channel.GetChannel (Oxide.Ext.Discord.DiscordClient client, System.String channelID, System.Action`1[T] callback) [0x00001] in <8623905c616349b49594ebac36d5c08b>:0

at Oxide.Plugins.Rustcord+c__AnonStorey0.<>m__0 (Oxide.Plugins.Rustcord+Settings+Channel ch) [0x00011] in <610174f43d19477691a989339c04c650>:0

at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in :0

at Oxide.Plugins.Rustcord.OnPlayerChat (ConsoleSystem+Arg arg) [0x0012b] in <610174f43d19477691a989339c04c650>:0

at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001cd] in <610174f43d19477691a989339c04c650>: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

(16:25:11) | [EAC] Kicking * (EAC Temporary Server Ban (expires in 13 minutes))

(16:25:20) | [EAC] Kicking * (EAC Temporary Server Ban (expires in 13 minutes))




(removed private info with *)

(16:29:37) | Unloaded plugin Rustcord v1.2.0 by Kirollos & OuTSMoKE

(16:29:37) | Failed to initialize plugin 'Rustcord v1.2.0' (InvalidOperationException: Collection was modified; enumeration operation may not execute.)

at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <ac823e2bb42b41bda67924a45a0173c3>:0

at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <ac823e2bb42b41bda67924a45a0173c3>:0

at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <ac823e2bb42b41bda67924a45a0173c3>:0

at Oxide.Plugins.Rustcord.Loaded () [0x000a1] in <610174f43d19477691a989339c04c650>:0

at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00535] in <610174f43d19477691a989339c04c650>: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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0006e] in <9affce1cd15c4ec183941adef8db1722>:0

there is way more errors



Merged post

(17:21:34) | [Discord Ext] Discord connection closed uncleanly: code 1006, Reason: An exception has occurred while receiving.

(17:21:35) | [Discord Ext] Attempting to reconnect to Discord...

(17:21:35) | [Oxide.Ext.Discord] Error: tried to create a heartbeat when one is already registered.

I confirm i have same issue !!!! 
Go to our Discord and grab the version of 1.2.0 from #build-notes, I disabled auto reload moving forward, it's helped a few people.
4:20 PM [Warning] [Discord Ext] Attempting to reconnect to Discord...
4:20 PM [Warning] [Discord Ext] Discord connection closed uncleanly: code 1006, Reason: An exception has occurred while connecting.

and later this
17:06 [Error] An exception was thrown! (WebException: The request timed out)
at System.Net.HttpWebRequest.GetRequestStream () [0x0004d] in <3845a180c26b4889bc2d47593a665814>:0 
at Oxide.Ext.Discord.REST.Request.WriteRequestData (System.Net.WebRequest request, System.Object data) [0x0002c] in <8623905c616349b49594ebac36d5c08b>:0 
at Oxide.Ext.Discord.REST.Request.Fire (Oxide.Ext.Discord.REST.Bucket bucket) [0x0009d] in <8623905c616349b49594ebac36d5c08b>:0 
at Oxide.Ext.Discord.REST.Bucket.FireRequests () [0x00062] in <8623905c616349b49594ebac36d5c08b>:0 
at Oxide.Ext.Discord.REST.Bucket.RunThread () [0x0001f] in <8623905c616349b49594ebac36d5c08b>:0 
at Oxide.Ext.Discord.REST.Bucket.<.ctor>b__27_0 () [0x00000] in <8623905c616349b49594ebac36d5c08b>:0 
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <ac823e2bb42b41bda67924a45a0173c3>:0 
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <ac823e2bb42b41bda67924a45a0173c3>:0 
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <ac823e2bb42b41bda67924a45a0173c3>:0 
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <ac823e2bb42b41bda67924a45a0173c3>:0 
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <ac823e2bb42b41bda67924a45a0173c3>:0​
This plugin seems to be nothing but errors and crashes lately. I had to remove it in order to save my playerbase from rage quitting.

Will there be a fix soon? It's simply not worth it now
In response to OuTSMoKE ():
Go to our Discord and grab the version of 1.2.0 from #build-notes, I disabled auto reload moving for...
I am using version 1.2.0 from 12 days ago

already most recent version?
Bro stop bumping the same topic over and over, we've said we're workign on it, half the shit you post is OBVIOUSLY the extension (hence the EXT tag),  I replied telling you to grab the build on Discord, ENOUGH!
In response to OuTSMoKE ():
Bro stop bumping the same topic over and over, we've said we're workign on it, half the shit you pos...
I'm just updating the info for other people that might have the same problem

So the extension needs to be updated? Cause I think im using the most recent one already. Im not sure where the different version is I already got 1.2.0
[Better Chat] Kizkae: badword1
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 48)
Failed to call hook 'OnPlayerChat' on plugin 'Rustcord v1.4.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Ext.Discord.DiscordObjects.Channel.GetChannel (Oxide.Ext.Discord.DiscordClient client, System.String channelID, System.Action`1[T] callback) [0x00001] in <8623905c616349b49594ebac36d5c08b>:0
  at Oxide.Plugins.Rustcord+<OnPlayerChat>c__AnonStorey0.<>m__0 (Oxide.Plugins.Rustcord+Settings+Channel ch) [0x00011] in <c7afeaf751fa40efa2316ef110ce3ff7>:0
  at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Oxide.Plugins.Rustcord.OnPlayerChat (ConsoleSystem+Arg arg) [0x00124] in <c7afeaf751fa40efa2316ef110ce3ff7>:0
  at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0029b] in <c7afeaf751fa40efa2316ef110ce3ff7>: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
Failed to call hook 'Discord_MessageCreate' on plugin 'Rustcord v1.4.0' (ArgumentException: Invalid arguments: InputOffset and OutputOffset must be within the Length of their respective streams.)
  at EasyAntiCheat.Server.Hydra.NativeNetProtect.ProtectMessage (System.IntPtr ClientObject, System.IO.MemoryStream Input, System.Int64 InputOffset, System.IO.MemoryStream Output, System.Int64 OutputOffset) [0x00013] in <1918578e6cd9434c91da2370a63f598e>:0 
  at EasyAntiCheat.Server.Hydra.NetProtect.NetProtect`1[TClient].ProtectMessage (TClient Client, System.IO.MemoryStream Input, System.Int64 InputOffset, System.IO.MemoryStream Output, System.Int64 OutputOffset) [0x00015] in <1918578e6cd9434c91da2370a63f598e>:0 
  at EACServer.Encrypt (Network.Connection connection, System.IO.MemoryStream src, System.Int32 srcOffset, System.IO.MemoryStream dst, System.Int32 dstOffset) [0x00010] in :0 
  at NetworkCryptographyServer.EncryptionHandler (Network.Connection connection, System.IO.MemoryStream src, System.Int32 srcOffset, System.IO.MemoryStream dst, System.Int32 dstOffset) [0x0001a] in :0 
  at NetworkCryptography.EncryptCopy (Network.Connection connection, System.IO.MemoryStream stream, System.Int32 offset) [0x0002d] in :0 
  at Facepunch.Network.Raknet.StreamWrite.Send (Network.SendInfo info) [0x00054] in <9afb1090f520433c816d8b0481c252a8>:0 
  at ConsoleNetwork.BroadcastToAllClients (System.String strCommand, System.Object[] args) [0x0005d] in :0 
  at Oxide.Plugins.RustPlugin.PrintToChat (System.String format, System.Object[] args) [0x00031] in :0 
  at Oxide.Plugins.Rustcord.Discord_MessageCreate (Oxide.Ext.Discord.DiscordObjects.Message message) [0x002ac] in :0 
  at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00e1f] in :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 ​
Locked automatically