Welcome to the page of aoi.js Documentation
Aoi.JS is a package with simplified and ready-to-use functions for Discord Bot Developers to develop their own Discord Bots.
Aiming to be the easiest package to learn It's swift and flexible using functions.
Open Source for the Community ❦
Node.JS 16.6.0 or newer is required.
npm install aoi.js
const aoijs = require("aoi.js")
const bot = new aoijs.Bot({
token: "DISCRD BOT TOKEN",
prefix: "DISCRD BOT PREFIX",
intents: ["GUILDS", "GUILD_MESSAGES"]
})
//Events
bot.onMessage()
//Command Example (ping)
bot.command({
name: "ping",
code: `Pong! $pingms`
})
//Ready Event
bot.readyCommand({
channel: "",
code: `$log[Ready on $userTag[$clientID]]`
})