bdbuilder
v1.2.6-preview.4
Published
Enhanced plugins transpiler for BetterDiscord. Allows you to build plugin with multiple files at once.
Readme
BDBuilder
Simpler version of Ittai only for BD.
Installation
Release to the official NPM registry is pending. In the meanwhile install from the GH NPM registry:
1. Tell npm that the @betterdiscordbuilder scope is located at GH and not NPM:
echo '@betterdiscordbuilder:registry=https://npm.pkg.github.com' >> .npmrc2. Tell npm to use your GH account to access the @betterdiscordbuilder scope:
Create an access token for your GH account with the following permissions:
reporead:packages
Run the following command:
npm login --scope=@betterdiscordbuilder --registry=https://npm.pkg.github.comWhen prompted provide your GH username (in lowercase) and use the generated token as the password.
3. Install the BDBuilder package
npm i -D @betterdiscordbuilder/bdbuilder@latestBuilding/Testing locally
git clone https://github.com/BetterDiscordBuilder/bdbuilder.git
cd bdbuilder
npm i
npm link
cd ./plugins/TestPlugin
npm i
cd ../..
bdbuilder --plugin="./plugins/TestPlugin" --copy="C:/Users/Username/AppData/Roaming/BetterDiscord/plugins" --watch --production