We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1ab462 commit 5c3e164Copy full SHA for 5c3e164
README.md
@@ -0,0 +1,14 @@
1
+# DCord
2
+a discord webhook library for php and pmmp *VERY OBJECTIVE*
3
+## Usage
4
+```php
5
+$webhook = new Webhook("https://discord.com/api/webhooks/RESTOFTHEURLHERE");
6
+$message = new Message();
7
+$embed = new Embed();
8
+$embed->setTitle("TEST");
9
+$embed->SetColor(new EmbedColor(0,255,0));
10
+$embed->setDescription("Testing colors now");
11
+$embed->Add(new EmbedAuthor("Jviguy",null,"https://i.insider.com/5463d18b6da811b76fd2229e?width=1200&format=jpeg"));
12
+$message->addEmbed($embed);
13
+$message->setUsername("DCord PMMP API");
14
+$webhook->SendAsync($message);```
0 commit comments