xiyuhook
v0.0.2
Published
Simple Auto-Webhook for discord.js
Downloads
8
Maintainers
Readme
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