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

    2.0.8 • Public • Published

    GCommands

    NPM version NPM downloads Code Raiting

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

    Keywords

    none

    Install

    npm i @gcommands/events

    DownloadsWeekly Downloads

    347

    Version

    2.0.8

    License

    MIT

    Unpacked Size

    24.3 kB

    Total Files

    28

    Last publish

    Collaborators

    • xhyrom