Skip to content

0xGizmolab/djs-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

Help

Join our Support Server for help

About

A utility package for bots created with discord.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published