Skip to content
/ DCord Public

a discord webhook library for php and pmmp *VERY OBJECTIVE*. Available as a plugin and as a Virion for pmmp

License

Notifications You must be signed in to change notification settings

Jviguy/DCord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DCord

a discord webhook library for php and pmmp VERY OBJECTIVE

Usage

$webhook = new Webhook("https://discord.com/api/webhooks/RESTOFTHEURLHERE");
$message = new Message();
$embed = new Embed();
$embed->setTitle("TEST");
$embed->SetColor(new EmbedColor(0,255,0));
$embed->setDescription("Testing colors now");
$embed->Add(new EmbedAuthor("Jviguy",null,"https://i.insider.com/5463d18b6da811b76fd2229e?width=1200&format=jpeg"));
$message->addEmbed($embed);
$message->setUsername("DCord PMMP API");
$webhook->SendAsync($message);

About

a discord webhook library for php and pmmp *VERY OBJECTIVE*. Available as a plugin and as a Virion for pmmp

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages