JSPM

djs-misc

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

    A Discord Package to make Fun Commands for discord Bots

    Package Exports

    • djs-misc

    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-misc) 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

    Installation

    npm i djs-misc

    Example usage

    USE ACCORDING TO YOUR COMMAND HANDLER

    ROAST

    NORMAL COMMAND

         const { Misc } = require('djs-misc')
            const misc = new Misc({
            message: message,
            embedFooter: "Made With djs-misc", //The Footer of the embed
            embedTitle: "Get Roasted", //The title of the embed
            embedColor: "RANDOM", //The color of the embed! (Use Hex codes or use the color name)
            })
            misc.roast()

    ===

    SLASH COMMAND

     const { Slash } = require('djs-misc')
            const slash = new Slash({
            args: args,
            slashCommand: true,
            interaction: interaction,
            embedFooter: "Made With djs-misc", //The Footer of the embed
            embedTitle: "Get Roasted!", //The title of the embed
            embedColor: "RANDOM", //The color of the embed! (Use Hex codes or use the color name)
            })
            slash.roast()

    DAD JOKE

         const { Misc } = require('djs-misc')
            const misc = new Misc({
            message: message,
            embedFooter: "Made With djs-misc", //The Footer of the embed
            embedTitle: "Here's a Dad Joke", //The title of the embed
            embedColor: "RANDOM", //The color of the embed! (Use Hex codes or use the color name)
            })
            misc.dadJoke()

    ===

    SLASH COMMAND

     const { Slash } = require('djs-misc')
            const slash = new Slash({
            args: args,
            slashCommand: true,
            interaction: interaction,
            embedFooter: "Made With djs-misc", //The Footer of the embed
            embedTitle: "Here's a Dad Joke", //The title of the embed
            embedColor: "RANDOM", //The color of the embed! (Use Hex codes or use the color name)
            })
            slash.dadJoke()

    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