A starter template for creating plugins for BetterDiscord in Typescript.
This plugin template should be a folder inside your BetterDiscord plugins directory.
Typically C:\Users\<username>\AppData\Roaming\BetterDiscord\plugins
The file structure should be (at minimal) as so:
plugins/ # BetterDiscord plugins dir
├── helloworld.plugin.js # Generated as output file
└── helloworld/
└── src/ # TypeScript source code
└── helloworld.plugin.ts # Main entry file for plugin
-
CD into BetterDiscord plugins directory
cd C:\Users\<username>\AppData\Roaming\BetterDiscord\plugins
-
Clone directory
git clone https://github.com/Acidic9/betterdiscord-typescript-template.git -o helloworld && cd helloworld
-
Build project to generate
helloworld.plugin.js
file in the plugins directoryyarn run build