0.1.2 • Published 1 year ago

4tools v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

A powerful utility package which works with aoi.js and midori.js

Report a bug

Discord server


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

Support Server