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
📂 | Installation
npm install gcommands
yarn install gcommands
# Dev Build
npm install gcommands@dev
yarn install gcommands@devIf 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.

