Skip to content

1day2die/cpggdiscordwebhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Controlpanel Discord Webhook Integration

Helper Class for Discord Webhooks and more
Buy Me a Coffee at ko-fi.com

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

Support me!

https://ko-fi.com/1day2die

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages