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

Garlic-Team/GEvents

Repository files navigation

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