{"id":23646942,"url":"https://github.com/exitare/mod-discord-webhook","last_synced_at":"2025-07-20T14:32:16.531Z","repository":{"id":268070146,"uuid":"903190228","full_name":"Exitare/mod-discord-webhook","owner":"Exitare","description":"Send webhooks to discord using scripts ","archived":false,"fork":false,"pushed_at":"2024-12-14T04:30:01.000Z","size":16,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T20:14:25.777Z","etag":null,"topics":["azerothcore-module"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Exitare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-14T00:33:41.000Z","updated_at":"2025-04-24T23:44:37.000Z","dependencies_parsed_at":"2024-12-14T04:25:06.831Z","dependency_job_id":"b0739e99-1618-4cf9-9b77-67ebf67fd0c6","html_url":"https://github.com/Exitare/mod-discord-webhook","commit_stats":null,"previous_names":["exitare/acore-discord-webhook"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Exitare/mod-discord-webhook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exitare%2Fmod-discord-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exitare%2Fmod-discord-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exitare%2Fmod-discord-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exitare%2Fmod-discord-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Exitare","download_url":"https://codeload.github.com/Exitare/mod-discord-webhook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exitare%2Fmod-discord-webhook/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266139627,"owners_count":23882506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azerothcore-module"],"created_at":"2024-12-28T13:48:09.259Z","updated_at":"2025-07-20T14:32:16.510Z","avatar_url":"https://github.com/Exitare.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Acore Webhook Module\n\nWelcome to the webhook module for azerothcore. This module will add functionality to let you send message to webhook endpoints (e.g. Discord).\n\n\n\n## Installation\nPlease use this link for guidance how to install a module:  \n```https://www.azerothcore.org/wiki/installing-a-module```\n\n## Usage\n\n- Copy the modules config and remove the .dist extension. \n- Add your webhook url to the config. Save and restart your server\n\n\n## Example use \n\n```cpp\n#include \"ScriptMgr.h\"\n#include \"Player.h\"\n#include \"Config.h\"\n#include \"Chat.h\"\n#include \"WebhookMgr.h\" // add the mgr\n\n\n// Add player scripts\nclass WebhookPlayerLogin : public PlayerScript\n{\npublic:\n    WebhookPlayerLogin() : PlayerScript(\"MyWebhookPlayerScript\") { }\n\n    void OnLogin(Player* player) override\n    {\n       std::stringstream ss;\n       ss \u003c\u003c \"Player \" \u003c\u003c player-\u003eGetName() \u003c\u003c \" just signed in.\";\n\n       std::string message = ss.str();\n\n       sWebhookMgr-\u003eScheduleMessage(message); // Schedule the message\n    }\n};\n\n// Add all scripts in one\nvoid AddWebhookPlayerScripts()\n{\n    new WebhookPlayerLogin();\n}\n\n\n```\n\nAdd the script to the script loader. Can also be added in any other script loader.\nwebhook_loader.cpp\n```cpp\nvoid AddWebhookPlayerScripts();\n\nvoid Addacore_webhooksScripts()\n{\n    AddWebhookPlayerScripts();\n    AddWebhookServerScripts();\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexitare%2Fmod-discord-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexitare%2Fmod-discord-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexitare%2Fmod-discord-webhook/lists"}