A feature-rich, easy-to-understand Discord application built with discord.js for ER:LC LAPD roleplay communities.
This Discord application was developed to serve and enhance ER:LC LAPD roleplay community by providing robust utility commands and management modules.
Created to address several community needs, including:
- Implementation of commonly wanted features, including roleplay specific ones, in one place;
- Improved UI and UX over existing solutions;
- Comprehensive roleplay management tools; and
- Open-source alternative to closed systems.
See the GitBook documentation page.
Refer to the Contribution Guide for further details.
- Node.js version 24.1.0 or higher
- npm version 11.2.0 or higher
- MongoDB database user (cloud)
- Discord App (i.e. bot) Token
- Clone the repository and navigate to the project directory
- Install dependencies:
npm install - Copy configuration template or rename it:
cp ./Source/Config/Secrets.example.ts ./Source/Config/Secrets.ts - Configure your credentials in
Secrets.tsor use environment variables (Some are prefilled and do not need to be changed like spreadsheet Id) - Start development process (i.e. running the application):
npm run start
The application requires several configuration values:
- Discord: Bot token, guild related settings
- MongoDB: Database connection string along with database user credentials
- Roblox: API integration for username lookups preventing harsh ratelimits
- Google: Service account for spreadsheet generation (optional)
This project/app/bot is licensed under the terms of the MIT license, which allows for free use, distribution, and modification of the code as long as the original copyright and license notice are included.