This is the app that we distribute to make discord bot development way easier.
Basically, when you launch the app, you can create a bot by providing its application token and client id. Then, the application creates a new folder in its data directory (%appdata%/fr.botson.dev
) with the same name as your application. The token, client id, avatar url and name of your application are also stored in the same directory.
Then, to customize your bot, you add to it "extensions" that are tweakable.
To contribute, you'll need to install some dependencies on your machine that you can find on the official website and the Tauri CLI that you can install with cargo (which comes with rustup) using the following command:
cargo install tauri-cli
When done, you can then follow these steps:
cd desktop_app
npm i
cargo tauri dev
This will install the npm dependencies as well as the cargo dependencies, then run the project.
NOTE: The cargo tauri dev
command only installs the dependencies once, so the first run is the longest.
Whenever you want to update your remote and local project with the dev
branch upstream, just run these:
git fetch upstream
git merge upstream/dev