JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q25037F
  • License Apache-2.0

A Utility Command Package for discord.js

Package Exports

  • djs-utils

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (djs-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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

js 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