Error after install and updating configSolved

Received this error in console after installing and updating config:

Failed to call hook 'OnDiscordGatewayReady' on plugin 'Rustcord v3.0.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Core.Plugins.Plugin.Subscribe (System.String hook) [0x00006] in <0fbce81d88d64454b3e7abb24df7026b>:0
at Oxide.Plugins.Rustcord.SubscribeHooks () [0x00015] in <5eba005ffd3e4e7d9fb9827d0cdb9ab6>:0
at Oxide.Plugins.Rustcord.OnDiscordGatewayReady (Oxide.Ext.Discord.Entities.Gatway.Events.GatewayReadyEvent rdy) [0x00011] in <5eba005ffd3e4e7d9fb9827d0cdb9ab6>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0061d] in <5eba005ffd3e4e7d9fb9827d0cdb9ab6>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <0fbce81d88d64454b3e7abb24df7026b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <0fbce81d88d64454b3e7abb24df7026b>:0​

I verified all the channel ID have been filled in.  Suggestions?

Ok, found the issue.  I forgot to rename "perms" to "Channel Flags" on one of the Discord Server ID #s.

EDIT: Ok well, I reloaded the plugin and apparently it's happy now 🤷‍♂️


I'm actually getting this error too, but I started with a fresh config file. It does seem to be working for game chat logging, but disconnections for example aren't working. Can't really see the difference or what I'm missing. The top one isn't working, the bottom one is:

  "Discord Logging Channels": [
    {
      "Discord Channel ID #": "850506317995048980",
      "Channel Flags": [
        "cmd_allow",
        "cmd_players",
        "cmd_kick",
        "cmd_com",
        "cmd_mute",
        "cmd_unmute",
        "msg_joinlog",
        "msg_quit"
      ],
      "Custom: Words/Phrases to Log": [
        "keyword1",
        "keyword2"
      ]
    },
    {
      "Discord Channel ID #": "850536773599494174",
      "Channel Flags": [
        "cmd_allow",
        "cmd_players",
        "cmd_kick",
        "cmd_com",
        "cmd_mute",
        "cmd_unmute",
        "msg_chat",
        "msg_teamchat",
        "death_pvp"
      ],
      "Custom: Words/Phrases to Log": [
        "keyword1",
        "keyword2"
      ]
    },

18/09 14:42:44 | Unloaded plugin Rustcord v3.0.0 by Kirollos & OuTSMoKE
18/09 14:42:44 | Loaded plugin Rustcord v3.0.0 by Kirollos & OuTSMoKE
18/09 14:42:44 | [Discord Extension] [Info]: Discord socket opened!
18/09 14:42:45 | [Discord Extension] [Info]: Your bot was found in 1 Guilds!
18/09 14:42:45 | Failed to call hook 'OnDiscordGatewayReady' on plugin 'Rustcord v3.0.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Core.Plugins.Plugin.Subscribe (System.String hook) [0x00006] in <0fbce81d88d64454b3e7abb24df7026b>:0
at Oxide.Plugins.Rustcord.SubscribeHooks () [0x00015] in <4eeee2f6a8094d0c8eef3358563bbdbb>:0
at Oxide.Plugins.Rustcord.OnDiscordGatewayReady (Oxide.Ext.Discord.Entities.Gatway.Events.GatewayReadyEvent rdy) [0x00011] in <4eeee2f6a8094d0c8eef3358563bbdbb>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0061d] in <4eeee2f6a8094d0c8eef3358563bbdbb>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <0fbce81d88d64454b3e7abb24df7026b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <0fbce81d88d64454b3e7abb24df7026b>:0​
Locked automatically