1.1.2 • Published 4 years ago

dishook.js v1.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

dishook.js

A light weight discord webhook client

How to use without embed

const hook = require('dishook.js');
const DisHook = new hook({
id: 'The id of the webhook' //must be a string
token: 'The token of the webhook must be a string',
});

DisHook.send('it's working');

With embed

const hook = require('dishook.js');
const DisHook = new hook({
id: 'The id of the webhook' //must be a string
token: 'The token of the webhook must be a string',
});

DisHook.send({
title: 'some cool title',
description: 'some description'
color: '0x00000'
});