Failed to call hook 'API_SendTextMessage' on plugin 'DiscordMessages v2.1.6Fixed
It's been some time since I tried Rust and working with mods, any help you could offer would be great!

After installing and setting up your DiscordMessages and DiscordMessagesChat I get this in discord everytime a chat is sent:

RustServer
BOT
— Today at 8:26 AM
PlayerChatFormat

In the console it gives a long error:

(08:26:45) | Failed to call hook 'API_SendTextMessage' on plugin 'DiscordMessages v2.1.6' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.DiscordMessages+Request.EnqueueRequest (Oxide.Plugins.DiscordMessages+Request request) [0x00000] in <76d6d0ddd54941bc9c92de0e44a8d94a>:0

at Oxide.Plugins.DiscordMessages+Request.Send () [0x0000a] in <76d6d0ddd54941bc9c92de0e44a8d94a>:0

at Oxide.Plugins.DiscordMessages+Request.Send (System.String url, Oxide.Plugins.DiscordMessages+FancyMessage message, Oxide.Core.Plugins.Plugin plugin) [0x00008] in <76d6d0ddd54941bc9c92de0e44a8d94a>:0

at Oxide.Plugins.DiscordMessages.API_SendTextMessage (System.String webhookUrl, System.String content, System.Boolean tts, Oxide.Core.Plugins.Plugin plugin) [0x00012] in <76d6d0ddd54941bc9c92de0e44a8d94a>:0

at Oxide.Plugins.DiscordMessages.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00d69] in <76d6d0ddd54941bc9c92de0e44a8d94a>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

(08:26:45) | [CHAT] ☢» MACHIN3 «☢[76561############] : hi

(08:26:45) | Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.DiscordMessages+Request.SendNextRequest () [0x00000] in <76d6d0ddd54941bc9c92de0e44a8d94a>:0

at Oxide.Plugins.DiscordMessages+Request.<Send>m__0 (System.Int32 code, System.String rawResponse) [0x000d8] in <76d6d0ddd54941bc9c92de0e44a8d94a>:0

at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00034] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

This issue should be fixed in the latest update

Locked automatically