Lapsus Client
  • 👋Welcome
  • 📚Getting Started
  • Installation
    • ⚙️Using the script
    • 🥚Using the egg
    • 🛠️Manually
    • 🚈Configuring a Reverse Proxy
    • 💬Configuring Discord
    • 🧩Extensions and Themes
  • Reference
    • 📄settings.json
    • 🔄Updates
  • Troubleshooting
    • ⁉️Common Errors
    • 💰Changing a user's plan
    • 🔄How the Updater works?
Powered by GitBook
On this page
  1. Installation

Configuring Discord

PreviousConfiguring a Reverse ProxyNextExtensions and Themes

Last updated 1 month ago

🔐 Login

Head on over to the and create a new application.

Give it a name and create it under Personal (or a team it doesn't really matter).

Set your app's name and icon, this is what users will see on the login screen. Set a TOS and Privacy Policy URL if your host has them, these will also be shown at login.

Next go to OAuth2, then add a Redirect. This redirect should be the URL to your client (the public one, set as oauth2.link) with /callback.

Example:

Next copy your Client ID and Client Secret.

Configure everything in config.json now:

settings.json
      "oauth2": {
        "_comment": "Go to https://discord.dev/ and create an application to set these up.",
        "id": "APPLICATION_ID",
        "secret": "YOUR_SECRET",
        "link": "https://YOUR_DOMAIN",
        // Rest of file

💰 J4R (Join 4 Rewards)

This method works with Discord which checks if an user has joined a server listed in settings.json

      "j4r": {
        "enabled": true,
        "ads": [
          {
            "name": "Example server 1",
            "invite": "https://discord.gg/example",
            "id": "000000000000000000",
            "coins": 25
          },
          {
            "name": "Example server 2",
            "invite": "https://discord.gg/example",
            "id": "000000000000000000",
            "coins": 200
          }
        ]
      },

"name": Name of the server listed in J4R. It can be the name you want not neccessary the server's name "invite": Here goes the Discord invitation to the server to add to J4R. Make sure you create a permanent invite "id": The server id you want to add here "coins": Number of coins that users will get once they join to the server

You can create as many J4Rs as you want. By default, we add two slots but you can add infinite slots

💬
Discord Dev Portal
Creating a new application
Discord App Info
Example redirect
Client ID and Secret