# nekos-discord-hooker

> sends an embed to a discord.js webhook

Latest version **1.0.2** (published 2019-10-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install nekos-discord-hooker
pnpm add nekos-discord-hooker
yarn add nekos-discord-hooker
bun add nekos-discord-hooker
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2019-10-15 |
| First published | 2019-10-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | nekoboytm |
| Maintainers | nekoboytm |
| Keywords | discord.js, webhook, embed |

## Links

- npm: https://www.npmjs.com/package/nekos-discord-hooker
- npm.io page: https://npm.io/package/nekos-discord-hooker

## Dependencies (1)

- [discord.js](https://npm.io/package/discord.js.md) ^11.5.1

## Recent versions

- 1.0.2 (latest) — 2019-10-15
- 1.0.0 — 2019-10-15

## README

[![nekos-discord-hooker-version](https://img.shields.io/npm/v/nekos-discord-hooker.png)](https://www.npmjs.com/package/nekos-discord-hooker)
[![nekos-discord-hooker-downloads](https://img.shields.io/npm/dt/nekos-discord-hooker.png?maxAge=3600)](https://www.npmjs.com/package/nekos-discord-hooker)
[![nekos-discord-hooker-license](https://img.shields.io/badge/license-ISC-blue.png)](https://www.npmjs.com/package/nekos-discord-hooker)

[![nekos-discord-hooker](https://nodei.co/npm/nekos-discord-hooker.png)](https://www.npmjs.com/package/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](https://discord.gg/UFkTFbe)

### Useage:
```javascript
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](https://media.discordapp.net/attachments/530195569474404362/633536925394796554/unknown.png?width=229&height=102)](https://www.npmjs.com/package/nekos-discord-hooker)

### ChangeLog:
```diff
+ spelling fix in ReadeMe.md
```

---
_Source: https://npm.io/package/nekos-discord-hooker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
