aoimyu.js
v0.2.6
Published
<h1 align="center">aoimyu.js</h1>
Downloads
6
Maintainers
Readme
- 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