This package has been deprecated
Author message:
This webhook has been superseded by webhook-discord
discord-webhook
0.1.0 • Public • Published Discord-Webhooks
A simple Javascript file for nicely formatting Discord webhooks
Usage
It's simple
To initialise:
var Webhook = require("Discord-Webhook")
var Hook = new Webhook("WEBHOOK URL")
To send an info message:
Hook.info("WEBHOOK NAME","Info")
To send an error message:
Hook.error("WEBHOOK NAME","Error")
To send a success message:
Hook.success("WEBHOOK NAME","Yay we did something right")
License
MIT
/discord-webhook/
//
Package Sidebar
Install
Weekly Downloads