Skip to content

Aoi.js - Library that simplifies coding for developing your Discord Bot

License

Notifications You must be signed in to change notification settings

sabriboulahia2011/aoi.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


aoi.js

aoi.js

Discord Server NPM Version NPM Downloads

About

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 ❤️

Installation

Node.JS 16.6.0 or newer is required.

npm install aoi.js

Setting up

const aoijs = require("aoi.js")

const bot = new aoijs.Bot({
token: "TOKEN",
prefix: "PREFIX",
intents: "all"
})

bot.onMessage() //Allows to execute Commands

bot.command({
name: "ping", //Trigger name (command name)
code: `Pong! $pingms` //Code inside of string
})

bot.readyCommand({
    channel: "", //Optional channnel ID
    code: `$log[Ready on $userTag[$clientID]]`
})

Optional packages

  • tweetnacl for music encryption (npm install tweetnacl)
  • @discordjs/opus for encoding, primarily used for Music (npm install @discordjs/opus)
  • ffmpeg-static for allowing Music Filters to run smoothly (npm install ffmpeg-static)
  • danbot-hosting for posting stats to their API (npm install danbot-hosting)

More Information in our Documentation

Links

Contributing

Please read Contributing

About

Aoi.js - Library that simplifies coding for developing your Discord Bot

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%