0.1.2 • Published 1 year ago
4tools v0.1.2
A powerful utility package which works with aoi.js and midori.js
Install
npm i 4tools
- Setup
const { AoiClient } = require("aoi.js");
const bot = new AoiClient({
token: "DISCORD_BOT_TOKEN",
intents: ["messageContent", "guilds", "guildMessages"],
prefix: "DISCORD_BOT_PREFIX"
})
const { Plugins } = require("4tools");
const plugins = new Plugins({ bot:bot });
plugins.loadPlugins();
bot.onMessage()
bot.command({
name : "servername",
code : `$serverName` //will return server name
})
- Links