1.0.1-1 • Published 10 months ago

dodoplugins.js v1.0.1-1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 months ago

dodoplugins.js

an package dedicated to aoi.js v6 which loads few custom supposedly "special" functions.

Disclaimer

this package (dodoplugins.js) is not made by official aoi.js developers, and so therefore, do not request support for the package's function in their official support server. instead request the support for it by either joining our support server or from Github Issues.

what is this

an package for aoi.js v6 as a plugin that loads some of the custom functions it has, for example $sendColoredLog

setup

npm i dodoplugins.js

this will install the npm version of the package.

additionally you can install the dev version of the package using the Github URL.

npm i https://github.com/dodoGames-s-Studios/dodoplugins.js

you then load the package with the following

// define clients
const { Plugins } = require("dodoplugins.js")
const { AoiClient } = require("aoi.js");
// setup aoi.js first
const bot = new AoiClient({
    token: "DISCORD BOT TOKEN",
    prefix: "DISCORD BOT PREFIX",
    intents: ["MessageContent", "Guilds", "GuildMessages"],
    events: ["onMessage", "onInteractionCreate"]
});

// load it
const plugins = new Plugins({ bot:bot }); 
plugins.loadPlugins(); 

this will enable all custom functions that were created in the package.

Links

This is Optional, So Check Links at Your own Discretion.

credits

the source code on how this was setup belongs to Kawaii#7615, thank him/her later for the aoi.js plugins tutorial later.

  • Kawaii#7615: for the aoi.js plugins tutorial later.
  • Blur: for helping me on getting this package to work.
  • InikoMatthewPro: for publishing the package on npm.