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

Latest commit

 

History

History
32 lines (25 loc) · 1.15 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.15 KB

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");