Coder Social home page Coder Social logo

documentation's Introduction

Introduction

aoi.js

Welcome to the page of aoi.js Documentation!

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: "Discord_Bot_Token",
  prefix: "Discord_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]]
  `
});

//Slash Command Example (ping)
//$createApplicationCommand[$guildID;ping;Pong!;true;slash]
bot.interactionCommand({
  name: "ping",
  prototype: 'slash',
  code: `
  $interactionReply[Pong! $pingms ๐Ÿ“]
  `
});

Would you want to contribute?

We would like to build our documentary along with you to make it betters to everyone!

Before contributing please read our contribution.

Links

documentation's People

Contributors

apricityy avatar azusfin avatar beast2802 avatar bumblebee-3 avatar devmike123 avatar dodogames7 avatar eltuna avatar kino7916 avatar kzzzakz avatar leref avatar neodevils avatar pogboi69 avatar rilecraft avatar snipeur060 avatar stickman1199 avatar usersatoshi 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.