Skip to content

Strencher/Builder

Repository files navigation

Builder

  • Plugin builder that compiles to several different discord client mods.

Supports

Installation

git submodule add https://github.com/Strencher/Builder
cd Builder && npm install # or pnpm

Usage

node builder -i ./path/to/my/plugin

Plugin Structure

  • Please see tests/test-plugin as an example.

Docs

  • Coming soon™️

CLI Commands

-h, --help   - Shows this message.
-i, --input  - Input plugin to be build.
-o, --output - Output path for compiled plugin(s).
-m, --mods   - Mods to build for. Supported: betterdiscord,unbound,powercord,astra.
-w, --watch  - Start the watcher.

FAQ

Q: Why do I have no typings?

A: You need to include them as shown below.

/// <reference path="./Builder/typings.d.ts">

// Above HAS to be the first line inside your index file.
// Make sure you use THREE /'s
// You can now continue your work below that.
import {Plugin} from "@structs";

export default class MyPlugin extends Plugin {
    // ... rest of your code
}

Copyright © Strencher - 2022
For license information, please see the license file.

About

Plugin builder that compiles to several different discord client mods.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published