Skip to content

Instalation

Download the package

npm install --save dis-logs 

Import Package

index.js

const { Webhook } = require('dis-logs')

Set Up Your Own Webhook

const logger = new Webhook('YOUR_WEBHOOK_URL') // (1)
  1. Check how you can get your own discord webhook here

Customize your webhook

Webhook Name

The name is a string less than 34 characters

logger.setName('WEBHOOK_NAME')
WEBHOOK NAME IMAGE

Webhook Icon

You can create a webhook icon by generating a image with onlinejpgtools.com to base64 converter

logger.setAV('STRING_BASE64') // (1)
  1. You can create a webhook icon by generating a image with onlinejpgtools.com to base64 converter

WEBHOOK IMAGE IMAGE

Back to top