djs-utils

A discord.js Utils Package with qrcode and other utility commands! Works With Slash and Normal Commands!

Installation

npm i djs-utils

Example usage

USE ACCORDING TO YOUR COMMAND HANDLER

QR CODE GENERATOR

=== NORMAL COMMAND

const { Utils } = require('djs-utils')
const util = new Utils({
args: args[0],
message: message,
slashCommand: false,
embedFooter: 'Made With djs-utils', //The Footer of the embed
embedTitle: 'Generated A QR Code', //The title of the embed
embedColor: 'RANDOM', //The color of the embed! (Use Hex codes or use the color name)
})
util.qrcode()

SLASH COMMAND

const { Utils } = require('djs-utils')
const util = new Utils({
args: args,
slashCommand: true,
interaction: interaction,
embedFooter: 'Made With djs-utils', //The Footer of the embed
embedTitle: 'Generated A QR Code', //The title of the embed
embedColor: 'RANDOM', //The color of the embed! (Use Hex codes or use the color name)
})
util.qrcode()

Example Bot

Checkout This Repository for a full example bot.