Deprecated, use GCommands
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");