aoimyu.js

0.2.6 • Public • Published

aoumyu.js

  • V5 Supported
  • V6 Supported

  • how install packge aoimyuko

npm i aoimyu.js
  • Setup aoimyu in aoi.js

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

const bot = new AoiClient({
  token: "DISCORD_BOT_TOKEN",
  intents: ["GUILDS", "GUILD_MESSAGES"],
  prefix: "DISCORD_BOT_PREFIX",
});

const { Plugins } = require("aoimyu.js");
const plugins = new Plugins({
  bot: bot,
  version: "V6", // V5 or V6
});

plugins.loadPlugins();

bot.onMessage();

bot.command({
  name: "func",
  code: `$functionName[$title;name]`,
});

// $title
  • Function :

  • $functionName[name function;type] - type : name, desc, usage

there is another function, later. coming soon

Package Sidebar

Install

npm i aoimyu.js

Weekly Downloads

1

Version

0.2.6

License

ISC

Unpacked Size

9.21 kB

Total Files

6

Last publish

Collaborators

  • myuko