Hi
The mod worked a couple days ago and out of no where i keep getting [Notify On Keyword] Discord API responded with code 400.
Ive used different webhooks but nothing seems to work :(
Hi
The mod worked a couple days ago and out of no where i keep getting [Notify On Keyword] Discord API responded with code 400.
Ive used different webhooks but nothing seems to work :(
Looks like the Discord API has changed:
[DiscordMessages] Failed! Discord responded with code: 400. Plugin: Unknown Plugin {"message": "Cannot send an empty message", "code": 50006}
[Notify On Keyword] Discord API responded with code 400.
[DiscordMessages] Failed! Discord responded with code: 400. Plugin: DiscordMessages {"message": "Cannot send an empty message", "code": 50006}
It was a mistake, was thinking this plugin used another plugin called "Discord API."MikeHawke
Why has this been marked as not an issue? The code still needs to be updated to be able to be compatible with the API changes so there is still an issue... I only posted Notify On Keywords error sandwiched between Discord Messages error to show that it is an issue with communicating with the API... the issue has not been resolved just because you tell me a different plugin is fixed.
GOT IT!!!
added:
private readonly Dictionary<string, string> _content = new Dictionary<string, string>
{
["Content-Type"] = "application/json"
};Just before
}, this, RequestMethod.POST);tooooooo}, this, RequestMethod.POST, _content);and now the plugin is unclaimed.... wulf.... could you help out mate.
This is where we are at but I don't know enough to set it up with the new hook.