xiyuhook

0.0.2 • Public • Published

xiyuHook

  • Simple Auto-Webhook for discord.js
  • Faster & Easier usage.

Update 0.0.2

  • Fixed bugs for the module!
  • Improved the performance for module!
  • Fixed [XIYU_INVALID_WEBHOOK] errors!
  • Fixed [XIYU_INVALID_ICONURL] errors!

Setup & Installation

const webhook = require("xiyuhook");
npm i xiyuhook@latest
// Please install the latest version of the module!

Example

// The normal usage for xiyuhook:
const hook = require('xiyuhook')

hook(message.channel, 'Webhook', {
    name: 'Webhook Name',
    icon: 'Webhook Icon'
})

// Embed usage for xiyuhook:
const hook = require('xiyuhook')

const embed = new Discord.MessageEmbed()
.setAuthor('Embed Author')
.setFooter('Embed Footer')

hook(message.channel, embed, {
    name: 'Webhook Name',
    icon: 'Webhook Icon'

Contact

Discord Server | Discord User | Twitter Profile

License

MIT © karincaDev

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i xiyuhook

      Weekly Downloads

      2

      Version

      0.0.2

      License

      MIT

      Unpacked Size

      4.38 kB

      Total Files

      3

      Last publish

      Collaborators

      • xelkrnc