Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

A parser that extends aoi.js default message parser system to add latest features and more readability options

License

Notifications You must be signed in to change notification settings

AkaruiDevelopment/aoi.parser

Repository files navigation

aoiparser

A custom parser to upgrade aoi.js existing parsers to latest features

Installation

node.js 17.0.0 or newer is required.

npm install @akarui/aoi.parser
yarn add @akarui/aoi.parser

Setup

const { Util } = require("aoi.js");
const { setup } = require("@akarui/aoi.parser");

setup(Util);

Example

//  example on sending a embed with 1 button
$sendMessage[
    {newEmbed:
        {title:Hello World}
        {description:This is an example}
        {color:Random}
        {footer:This is a footer}
    }
    {actionRow:
        {button:
            Label:
            1:
            customid:
            no:
            💀
        }
    }
]

Links

License

Apache-2.0

Contributors

aoi.parser-contributors

About

A parser that extends aoi.js default message parser system to add latest features and more readability options

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •