0.0.8 • Published 1 year ago
aeos.js v0.0.8
Installation
node.js 16.6.0 or newer is required.
npm install aeos.js
Once this has installed you can begin the following file index.js
to setup aeos.js
const aoijs = require("aoi.js")
const bot = new aoijs.AoiClient({
token: "DISCORD BOT TOKEN",
prefix: "DISCORD BOT PREFIX",
intents: ["GUILDS", "GUILD_MESSAGES"]
})
//Aeos.js
const { Plugins } = require("aeos.js"); //imports aeos.js
const plugins = new Plugins({ bot:bot });
plugins.loadPlugins(); //loads plugins
//Events
bot.onMessage()
//Command Example (ping)
bot.command({
name: "ping",
code: `Pong! $pingms`
})
//Ready Event
bot.readyCommand({
channel: "",
code: `$log[Ready on $userTag[$clientID]]`
})
Functions:
~ $aeosVersion
~ $allCommands
~ $arch
~ $botAvatar
~ $botID
~ $botInvite
~ $botTag
~ $botToken
~ $date
~ $kioAvatar
~ $memory
~ $modelcpu
~ $ownerAvatar
~ $ownerID
~ $ownerTag
~ $pingAuthor
~ $pingBot
~ $pingOwner
~ $platform
~ $run
~ $serverID
~ $serverRoles
~ $showType
~ $usageCpu
Added Functions:
- $run