Updated for NWNEE 37-13
Updated for NWNEE 37-13. Updated NWNxEE scripts. CODI Core AI tweaks. Added Diamond Golem AI. Full compile. Updated release archive.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
/// @brief Send messages to external entities through web hooks.
|
||||
/// @{
|
||||
/// @file nwnx_webhook.nss
|
||||
#include "nwnx"
|
||||
|
||||
const string NWNX_WebHook = "NWNX_WebHook"; ///< @private
|
||||
|
||||
@@ -28,13 +27,12 @@ void NWNX_WebHook_ResendWebHookHTTPS(string host, string path, string sMessage,
|
||||
|
||||
void NWNX_WebHook_SendWebHookHTTPS(string host, string path, string message, string username = "", int mrkdwn = 1)
|
||||
{
|
||||
string sFunc = "SendWebHookHTTPS";
|
||||
NWNX_PushArgumentInt(mrkdwn);
|
||||
NWNX_PushArgumentString(username);
|
||||
NWNX_PushArgumentString(message);
|
||||
NWNX_PushArgumentString(path);
|
||||
NWNX_PushArgumentString(host);
|
||||
NWNX_CallFunction(NWNX_WebHook, sFunc);
|
||||
NWNXPushInt(mrkdwn);
|
||||
NWNXPushString(username);
|
||||
NWNXPushString(message);
|
||||
NWNXPushString(path);
|
||||
NWNXPushString(host);
|
||||
NWNXCall(NWNX_WebHook, "SendWebHookHTTPS");
|
||||
}
|
||||
|
||||
void NWNX_WebHook_ResendWebHookHTTPS(string host, string path, string sMessage, float delay = 0.0f)
|
||||
|
Reference in New Issue
Block a user