Welcome To The Home 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 โฆ
npm i aoi.js
Note:
nodejs version 16.6.0 and above is required.
const aoijs = require('aoi.js');
const bot = new aoijs.Bot({
token: "Your Bot Token",
prefix: "Bot Prefix",
intents: "all"
});
bot.onMessage() //enables bot to see messages (required for executing Commands)
bot.command({
name: "ping", //command name
code: `My Ping Is \`$ping ms\` ` //code to be executed when this command is called
});