Options
All
  • Public
  • Public/Protected
  • All
Menu

@gcommands/events

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

Generated using TypeDoc