Skip to content
This repository has been archived by the owner on Jan 29, 2022. It is now read-only.

Garlic-Team/GComponents

Repository files navigation

GComponents

NPM version NPM downloads

NPM Banner

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