This is VaultScope's Discord Bot used for role connection, informational and operational commands across the VaultScope Eco System.
- A code editor
- Knowledge about TypeScript
- TypeScript and NodeJS (or other Runtime)
- A server from VaultScope 👀
Clone the Repo
git clone https://github.com/VaultScope/vaulty.git
Install dependencies
npm install
Run it
npx tsx src/index.ts
The bot will automatically register the metadata at startup. (see src/index.ts). (For production use the domain/ip instead of localhost)
- App Setup
- Overview -> Oauth2 -> Redirects:
http://localhost:5000/linked-role
http://localhost:3000/discord-oauth-callback
- Overview -> General Information -> Linked Roles Verification URL
http://localhost:3000/linked-role
- Overview -> General Information -> Privileged Gateway Intents Enable all Intents
- Role Setup
- Go to the discord server you want to make the Linked Role (make sure you have at least ManageRoles Permissions)
- Go to Settings -> Roles
- Create a Role and Enter its name
- Go to the Links tab
- Click "Add Requirement"
- Choose Vaulty (or the name of your Bot)
- Set the "Active Subscriptions" field to the minimum number required to obtain the role
- Connect the role
- Click the Server Name dropdown menu
- Click Linked Roles
- Select the created role
- You will be redirected to discord asking if youd like to authorize the App.
- Click Authorize
- Role is now linked successfully if the subs_active parameter is more or equal to the requirement specificiation.
For any questions about this project, contact us at opensource@vaultscope.de.
Copyright (C) 2026 VaultScope
This project is licensed under the GNU Affero General Public License v3.0 only (AGPL-3.0-only).
You are free to use, study, modify, and distribute this software under the terms of the license.
Any modified version made available to users over a network must also make its complete corresponding source code available under the AGPL-3.0 terms.
See LICENSE for the full license text.
SPDX-License-Identifier: AGPL-3.0-only