JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q41759F
  • License ISC

Component handler for discord.js and gcommands

Package Exports

  • @gcommands/components

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

Readme

GComponents

NPM version NPM downloads

NPM Banner


OFFICIAL ADDON FOR GCOMMANDS

Installation

Install with npm / yarn / pnpm:

npm install @gcommands/components
yarn add @gcommands/components
pnpm add @gcommands/components
const { GComponents } = require("@gcommands/components");
const { Client } = require("discord.js");
const { join } = require("path");
const client = new Client();

new GComponents(client, { dir: join(__dirname, "components") });

client.login("token");