@gcommands/events
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

GEvents

NPM version NPM downloads

NPM Banner


OFFICIAL ADDON FOR 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")

Readme

Keywords

none

Package Sidebar

Install

npm i @gcommands/events

Weekly Downloads

25

Version

2.1.1

License

ISC

Unpacked Size

15.1 kB

Total Files

18

Last publish

Collaborators

  • xhyrom