1day2die / cpgg-discordwebhook
A Discord Message Webhook for controlpanel
Installs: 16
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/1day2die/cpgg-discordwebhook
This package is auto-updated.
Last update: 2025-09-27 14:08:43 UTC
README
Helper Class for Discord Webhooks and more
Features
- Send Webhook Messages with ease to your Discord Server
Installation
Run this from your Terminal inside your Controlpanel directory (usually /var/www/controlpanel)
composer require 1day2die/cpgg-discordwebhook
Usage
For Devs, include this at the top of your new file
use OneDayToDie\DiscordWebHook\Classes\DiscordNotification;
Create a new Webhook embed like this
DiscordNotification::embed("WEBHOOK URL","TITLE","TEXT","COLOR INTEGER VALUE");
Grab the Color Int Value from here https://gist.github.com/thomasbnt/b6f455e2c7d743b796917fa3c205f812
Support
DM me on Discord or Join my Discord Hub https://discord.gg/UgJcvgCg6N