greathooks

1.0.0 • Public • Published

GreatHooks 1.0.0

const gh = require("greathooks");

gh.create(text); //create script to send a normal text with webhook
gh.create(embed); //create script to send a embed message with webhook

gh.hookpost("WebHook URL", {
  title: 'Hello World!',  // Send a Embed message.
  description: 'test'
})

gh.hookpost('WebHook URL', {
  text: 'This is a regular text message.' // Send a standart message
});

Package Sidebar

Install

npm i greathooks

Weekly Downloads

3

Version

1.0.0

License

ISC

Unpacked Size

6.08 kB

Total Files

4

Last publish

Collaborators

  • freeutka