0.2.6 • Published 2 years ago

plugin-aoijs v0.2.6

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago
  • 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 :

  • $functionNamename;type - type : name, desc, usage

there is another function, later. coming soon