aoi-handler

2.1.1 • Public • Published

aoi-handler

The simpler approach of loading commands in aoi.js via folder.

  • Fixed some issues

Usage

botLoad(bot, './folder_name/');

Using it in aoi.js

const botLoad = require('aoi-handler');

const {AoiClient} = require("aoi.js");

const bot = new AoiClient({
token: "BOT_TOKEN",
prefix: "PREFIX",
intents: ["MessageContent", "Guilds", "GuildMessages"],
  events: [
      "onMessage",
      "onInteractionCreate"
    ]
})

botLoad(bot, './folder_name/');

Made with 💖

Readme

Keywords

Package Sidebar

Install

npm i aoi-handler

Weekly Downloads

1

Version

2.1.1

License

MIT

Unpacked Size

11.3 kB

Total Files

9

Last publish

Collaborators

  • itshyper