0.0.2 • Published 2 years ago

xiyuhook v0.0.2

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

xiyuHook

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

Update 0.0.2

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