November's Paddleball Marathon
Miss any of our Open RFC calls?Watch the recordings here! »

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

Keywords

none

Install

npm i Discord-Webhook

DownloadsWeekly Downloads

22

Version

0.1.0

License

none

Last publish

Collaborators

  • avatar