Package Exports
- gcommands
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
📂 | Installation
npm install gcommands
yarn install gcommands
npm install github:Garlic-Team/GCommands#dev #dev buildIf you're updating from 3.x to 4.x, check https://gcommands.js.org/guide/additional/fromv3tov4.html
📜 | Setup
const { Client } = require("discord.js")
const { GCommands } = require("gcommands")
const client = Client();
client.on("ready", () => {
const gc = new GCommands(client, {
cmdDir: "commands/",
eventDir: "events/",
language: "english",
unkownCommandMessage: false,
slash: {
slash: "both",
prefix: "."
},
database: {/*read guide*/}
})
gc.on("debug", (debug)=>{console.log(debug)})
})
client.login("token")✍ | Examples
You can find everything in the guide.
Join our discord server, if you need help or have any questions.

