Coder Social home page Coder Social logo

aoi.js's Introduction


aoi.js

Aoi.JS

Discord Server NPM Version NPM Downloads publish-dev

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 12.0.0 or newer is required.

npm install aoi.js

Example

const aoijs = require("aoi.js")

const bot = new aoijs.Bot({
token: "TOKEN", //Discord Bot Token
prefix: "PREFIX" //Discord Bot Prefix
})
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]]` //A ready on Client
})

Optional packages

  • @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)

Music Integration

With our powerful Package, we incorporated Music with several functions. We allowed customization and control over what you want.

Music Usage

bot.command({
name: "play",
code: `$playSong[Music Name;Something went wrong!]`
})

More Information in our Documentation

Links

Contributing

Please read Contributing

aoi.js's People

Contributors

usersatoshi avatar leref avatar xzfirzal avatar kino7916 avatar devspen avatar themarci avatar soudblox avatar dutchman-dev avatar yuzutheneko avatar masterguy35 avatar mustafaamsy avatar pranav-karthikeyan avatar rakejs avatar berat141 avatar itzleref avatar eltuna avatar kubaturi avatar rilecraft avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.