1.0.1 • Published 5 years ago

firehook-node-api v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

firehook-node-api

NPM

How to install

npm install firehook-node-api

firehook-node-api use's promises, and works best in async/await.

.setFirehook is used to set the firehook address.

.setTitle will set the title of the firehook.

.setDescription will set the description of the firehook.

.setImage will set the image of the firehook.

.send will send it to the firehook address.

Example

const Firehook = require("firehook-node-api");

let webhook = new Firehook();

webhook
  .setFirehook("Link_to_your_firehook")
  .setTitle("Firehook Test Send")
  .setDescription(
    "Firehook is a new service that allows users to have a webhook address where they can send virtually anything"
  )
  .setImage("Link_to_a_image")
  .send();

License

firehook-node-api is licensed under MIT License