/bdbuilder

Simpler version of Ittai for only BD.

Primary LanguageJavaScriptGNU Lesser General Public License v2.1LGPL-2.1

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' >> .npmrc

2. Tell npm to use your GH account to access the @betterdiscordbuilder scope:

Create an access token for your GH account with the following permissions:

  • repo
  • read:packages

Run the following command:

npm login --scope=@betterdiscordbuilder --registry=https://npm.pkg.github.com

When 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@latest

Building/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