1.8.1 • Published 2 months ago

aoi.vixblox v1.8.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

aoi.vixblox

As of 11/18/2023 THIS IS NOT AN OFFICAL AOI.JS PACKAGE. maybe never will :(

aoi.vixblox is a package that allows you to utilize roblox api functions within Aoi.js Bot.

Docs: Website go brr

Setup

  1. Install aoi.vixblox package:
npm install aoi.vixblox
  1. Import the aoi.vixblox library into your project:
const vixblox = require("aoi.vixblox");
  1. Load vixblox with the required parameters:
vixblox.load({
  bot: bot,
  errortype: "message",
  enableErrors: true,
  version: "v6",
});
  1. You are ready to use vixblox with your Aoi.js Bot!

Example

const { AoiClient, Util } = require("aoi.js");
const vixblox = require("aoi.vixblox");

const client = new AoiClient({
  token: "Discord Bot Token",
  prefix: "Discord Bot Prefix",
  intents: ["MessageContent", "Guilds", "GuildMessages"],
  events: ["onMessage", "onInteractionCreate"],
  database: {
    type: "aoi.db",
    db: require("@akarui/aoi.db"),
    tables: ["main"],
    path: "./database/",
    extraOptions: {
      dbType: "KeyValue",
    },
  },
});

vixblox.load({
  bot: bot,
  errortype: "message",
  enableErrors: true,
  version: "v6",
});

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

// get bob avatar :)
bot.command({
  name: "bobby",
  code: `
    $getPlayerInfo[367]
    `,
});

// expected output {"username":"Bob","displayName":"Bob","blurb":"Bobbeh es meh","joinDate":"2006-07-21T21:30:46.670Z","age":6329,"friendCount":92,"followerCount":55034,"followingCount":17658,"oldNames":[],"isBanned":false}

Credits

  • me (notbob yet)
  • lordex aoi.canvas guy (uwuwuw he ask for it) :D
  • lightner fren
  • akaruiteam (aoi.js)
  • leref because leref is leref

These are the contributors who have contributed to the aoi.vixblox project.

Functions & Args

Check docs for functions args and examples


Remember to follow the setup steps mentioned above to start using vixblox in your aoi.js Bot.

Let me know of any errors or anything to be fixed

Feel free to reach out if you have any questions or need further assistance.

Enjoy coding with vixblox!

1.8.1

2 months ago

1.8.0

4 months ago

1.7.10

4 months ago

1.7.11

4 months ago

1.7.13

4 months ago

1.7.9

5 months ago

1.7.8

5 months ago

1.7.7

5 months ago

1.7.6

5 months ago

1.7.5

5 months ago

1.7.4

5 months ago

1.7.3

5 months ago

1.7.2

5 months ago

1.7.1

5 months ago

1.7.0

5 months ago

1.6.4

5 months ago

1.6.3

5 months ago

1.6.2

5 months ago

1.6.1

5 months ago

1.6.0

5 months ago

1.5.1

5 months ago

1.5.0

6 months ago

1.4.0

6 months ago

1.3.0

6 months ago

1.2.0

6 months ago

1.1.0

6 months ago

1.0.0

6 months ago