@gcommands/components
v1.1.0
Published
Component handler for discord.js and gcommands
Downloads
36
Readme
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");