Skip to content

yurtrimu/discord-webhook-no-limit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🟩 Discord Webhook No Limit 🟩 Working

Discord Webhook No Limit is for sending webhook messages without the 2000 character limit.

Questions?

- I gladly answer your questions on the discord server.

Usage

#include "webhook.hpp"

int main()
{
    curl_global_init(CURL_GLOBAL_ALL);

    struct discord_webhook webhook;
    webhook.avatar = "AVATAR_URL";
    webhook.name = "USERNAME";
    webhook.url = "URL";
    webhook.message = "MESSAGE";

    std::string response;

    if (send_webhook(webhook, response)) {
        printf("Webhook successfully sent %zu length of data.\n", webhook.message.length());
    }

    curl_global_cleanup();
}

Example.png

alt text

Operating System

  • Below Windows 7 - 🟦 Untested
  • Windows 7 - 🟦 Untested
  • Windows 10 - 🟩 Working
  • Windows 11 - 🟦 Untested
  • Mac OS - 🟦 Untested
  • Linux - 🟦 Untested

Requirements

You need to have the OpenSSL library installed and linked to your compiler.

You need to have the CURL library installed and linked to your compiler ( _ STATIC _).

Linker

  • libcrypto.lib
  • libssl.lib
  • openssl.lib
  • libcurl_a.lib
  • crypt32.lib
  • ws2_32.lib
  • wldap32.lib
  • normaliz.lib

Compiling

  • Build - 🟦 Untested
  • Release - 🟩 Working
  • C++11 - 🟦 Untested
  • C++14 - 🟩 Working
  • C++17 - 🟩 Working
  • C++20 - 🟩 Working

Contributing

Pull requests are welcome.

Legal Disclaimer

🟥 The content provided is for educational and informational purposes only. 🟥