BetterDiscord
The Discord customization project.
Stats
Languages
Description
BetterDiscord is a client modification for Discord. This allows you to add plugins and themes to your personal copy of Discord. BetterDiscord also adds a number of other features out of the box.
In The News
- Article on WIRED by Cecilia D'Anastasio - BetterDiscord Lets Users Mod the App to Their Heart’s Content
- Article on PCGamer by Morgan Park - The best Discord themes and plugins
- Article on MakeUseOf by Nico Posateri - How to Set Up and Use BetterDiscord
- Article on OnlineTechTips by Emma Collins - What Is BetterDiscord?
BetterDiscord Architecture
BetterDiscord is currently broken up into three packages--the local injector, the preload, and the renderer application. They form this miniature monorepo that is managed by pnpm
.
Injector
The main job of this package is to inject into Discord and load the renderer package. The injector and its code live in the injector
folder.
Preload
Preload is the preload script for Discord's main BrowserWindow
object. This sets up our cross-context APIs. The preload package and its code live in the preload
folder.
Renderer Application
This is the main payload of BetterDiscord. This is what gets executed in the renderer context by the injector. This portion is where most of the user interaction and development will be. This module is responsible for loading plugins and themes, as well as handling settings, emotes and more. The renderer and its code live in the renderer
folder.