JSPM

gcommands

5.2.6-dev.1628228089
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 13
  • Score
    100M100P100Q72400F
  • License MIT

Powerful and flexible command handler that can do everything!

Package Exports

  • gcommands
  • gcommands/src/commands/base
  • gcommands/src/util/util

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 (gcommands) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

GCommands

NPM version NPM downloads Code Raiting

NPM Banner


📂 | Installation

npm install gcommands
yarn install gcommands

# Dev Build
npm install gcommands@dev
yarn install gcommands@dev

If you're updating from 4.x to 5.x, check https://gcommands.js.org/guide/guide/additional/fromv4tov5.html

📜 | Setup

const { GCommandsClient } = require("gcommands")
const client = GCommandsClient({
   cmdDir: "commands/",
   eventDir: "events/",
   language: "english",
   unkownCommandMessage: false,
   slash: {
      slash: "both",
      prefix: "."
   },
   database: "url"
});

client
   .on("log", console.log)

client.login("bot token")

✍ | Examples

You can find everything in the guide and docs.
Join our discord server, if you need help or have any questions.

👥 | Contact