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

Latest commit

 

History

History
36 lines (29 loc) · 1.15 KB

README.md

File metadata and controls

36 lines (29 loc) · 1.15 KB

GEvents

NPM version NPM downloads

NPM Banner

Deprecated, use GCommands

Installation

Install with npm / yarn / pnpm:

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

client.on("ready", () => {
    new GEvents(client, {
        eventDir: join(__dirname, "events")
    })
}) 

client.login("token")