Slyrith / parsers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aoi.Parser

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

Setup

const { Util } = require("aoi.js");
const { setup } = require("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

About

License:Apache License 2.0


Languages

Language:TypeScript 99.2%Language:JavaScript 0.8%