djs-utils
v1.1.2
Published
A Utility Command Package for discord.js
Downloads
37
Maintainers
Readme
About
- A discord.js Utils Package with qrcode and other utility commands! Works With Slash and Normal Commands!
- Join our Support Server for help
- For Discord.js v13: npm i djs-utils
- For Discord.js v12: npm i djs-utils@old
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
(*Requires djs-utils@dev and a slash command handler setup)
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()
Note:
Please Respect the license and dont just copy the whole thing as paste as your own package!
Updates
You Can use this package with djs-13 by installing djs-utils@dev
Credits
Our Other packages: