USERSATOSHI / aoi.js-documentation

Documentation of aoi.js

Home Page:https://aoi.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aoijs

aoi.js documentation

The official Documentation of the aoi.js NPM package.

NPM downloads AoiJS Server NPM version

Features

  • Built-in support of database by default and ready for multipurpose.
  • Built-in 630+ functions, simple and easy to learn.
  • Simple to learn, all in string-based and compact.
  • Support of extensions available to be used by the community.

Installation

node.js 16.9.0 or newer is required.

npm install aoi.js
yarn add aoi.js

Setup

const aoijs = require("aoi.js");

const bot = new aoijs.AoiClient({
  token: "Discord Bot Token",
  prefix: "Discord Bot Prefix",
  intents: ["MessageContent", "Guilds", "GuildMessages"],
  events: ["onMessage"]
});

// Ping Command Example
bot.command({
  name: "ping",
  code: `Pong! $pingms`
});

Disclaimer

Aoi.js is not affiliated or associated with Discord or any other services.

Links

About

Documentation of aoi.js

https://aoi.js.org

License:MIT License