nekos-discord-hooker

1.0.2 • Public • Published

nekos-discord-hooker-version nekos-discord-hooker-downloads nekos-discord-hooker-license

nekos-discord-hooker

nekos-discord-hooker

A simple and easy way to send an embed to a discord.js webhook

to report issues and get help, join the official discord server

Useage:

let hook = require('nekos-discord-hooker');
//get the package
 
let webhook = new hook.webhookEmbed()
.setTitle('Title')
.setColor('#00ffff')
.setTimestamp()
.setDescription('This is an embed description')
.addField('Field 1 Title', 'Field 1 Description', true)
.addField('Field 2 Title', 'Field 2 Description', true)
//inline fields
.setFooter('Footer text', 'Footer URL');
//just like a normal discord.js embed, right?
webhook.sendTo('discord.js webhook URL');
//sends the webhook +1

The outcome should look something like this:

nekos-discord-hooker

ChangeLog:

+ spelling fix in ReadeMe.md

Package Sidebar

Install

npm i nekos-discord-hooker

Weekly Downloads

2

Version

1.0.2

License

ISC

Unpacked Size

4.5 kB

Total Files

4

Last publish

Collaborators

  • nekoboytm