JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 17
  • Score
    100M100P100Q65714F
  • License MIT

The aoi.panel module provides a panel component for the aoi.js library using express.

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

npm GitHub GitHub package.json version GitHub last commit GitHub repo size GitHub forks GitHub Repo stars GitHub watchers img

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