webhok
Version:
An under-maintenance webhook client for discord to assist you into sending requests to webhooks.
9 lines (7 loc) • 381 B
JavaScript
const {webhookClient} = require("../dist/index")
const webHookManager = new webhookClient.WebhookController({
debug: false
})
webHookManager.executeWebhook("https://discord.com/api/webhooks/1155914222287474718/QsxdZsNOfY1uN0-NF2zbJ7tO0VqwXy0hRNuCDPEucdjzOcdzadpVlSs1Z19ZaMPvQpBd", {
content: "Hello webhook"
}).then(r => console.log(r)).catch(e => console.log(e))