⬇️Instalation
WDownload the package
npm install --save dis-logs Import Package
index.js
const { Webhook } = require('dis-logs')Set Up Your Own Webhook
Simple Use
const log = new Webhook('YOUR_WEBHOOK_URL') // Advance Use
const log = new Webhook(
'YOUR_WEBHOOK_URL', // webhook
'WEBHOOK_NAME', // name
'WEBHOOK_AVATAR', // avatar
true //
)Customize your webhook
Webhook Name
The name is a string less than 34 characters
log.set_name('WEBHOOK_NAME')Webhook Icon
You can create a webhook icon by generating a image with onlinejpgtools.com to base64 converter
logger.set_avatar('STRING_BASE64')
Last updated