0.0.2 • Published 8 years ago
discordwebhooks v0.0.2
discord-webhooks
A Client made for Discord's webhooks.
Links
Documentation
Example: "249743770017333249"
content:
The content being sent.
Example: "Hello! I'm a Webhook!"
options:
The options.
####List of options: tts: [Boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean): If the webhook is sent as a voice or not. embeds: <Array>: Array of embed objects. ##Example
const Webhook = require("discordwebhooks");
const wh = new Webhook("webhook token", "webhook id");
wh.sendWebhook("content", {})