Package Exports
- @akarui/aoi.panel
- @akarui/aoi.panel/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@akarui/aoi.panel) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@akarui/aoi.panel
Installation
npm i @akarui/aoi.panel
Basic Usage:
const {Panel} = require("@akarui/aoi.panel")
const { AoiClient, LoadCommands } = require("aoi.js");
const bot = new AoiClient({
token: "Bot token",
prefix: "p!",
intents: ["Guilds", "GuildMessages", "MessageContent"],
events: ["onMessage", "onInteractionCreate"]
});
const loader = new LoadCommands(bot);
loader.load(bot.cmd, "./commands/");
const panel = new Panel({
port:3000,
client:bot
})
panel.loadAPI({
auth:" Authentication key here (random string)"//no spaces, keep it only alphanumeric...
})
panel.loadGUI({
username:["username 1","username 2"],
password:["Password 1","Password 2"],
})
View the full documentation here
Join our Support Server for support