1.2.6-preview.4 • Published 3 years ago

bdbuilder v1.2.6-preview.4

Weekly downloads
-
License
LGPL 2.1
Repository
github
Last release
3 years ago

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