| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A Discord bot for managing user vouches and reviews with star ratings and customizable embeds.
You need a MongoDB database to store vouches. You have two options:
Option 1: MongoDB Atlas (Recommended)
Option 2: Self-Hosted MongoDB
If you prefer to host MongoDB yourself, follow the official installation guide for your platform:
Your connection string for a local instance will typically be mongodb://localhost:27017/vouchbot.
Clone or download this repository
Install dependencies
npm installConfigure the bot
Edit config.yml and replace the placeholder values:
# Bot Configuration
botToken: "YOUR_BOT_TOKEN_HERE" # Your Discord bot token
clientId: "YOUR_CLIENT_ID_HERE" # Your Discord application/client ID
guildId: "YOUR_GUILD_ID_HERE" # Your Discord server ID (optional)
# MongoDB Configuration
mongoURI: "YOUR_MONGODB_CONNECTION_STRING_HERE"
# Other settings
vouchChannelId: "CHANNEL_ID_HERE" # Channel where vouches will be sent
requiredRoles: ["ROLE_ID_1", "ROLE_ID_2"] # Roles that can use vouch commandStart the bot
npm startTo get the required IDs:
Bot Token & Client ID:
Guild ID (Server ID):
Channel ID:
Role ID:
Your bot needs the following permissions:
All embed elements can be customized in the customization section:
customization:
embedColor: "#5e99ff"
vouchTitle: "🎉 Vouch (#${count})"
vouchFooterText: "Vouched by ${authorTag}"
userFieldTitle: "Vouched User"
vouchedByFieldTitle: "Vouched By"
vouchedAtFieldTitle: "Vouched at"
starsFieldTitle: "Stars"
messageDescription: "${messageContent}"Configure the bot's activity status:
botStatus:
activity: "Managing vouches"
type: 0 # 0 = Playing, 1 = Streaming, 2 = Listening, 3 = Watching, 5 = CompetingUsers with the required roles can use the /vouch command with the following options:
Administrators can use the /recover command to repost all vouches from the database into the vouch channel. This is useful if the vouch channel gets accidentally deleted — just create a new channel, update the vouchChannelId in config.yml, restart the bot, and run /recover.
vouch-bot/ ├── commands/ │ ├── vouch.js # Vouch command implementation │ └── recover.js # Vouch recovery command ├── models/ │ └── Vouch.js # MongoDB vouch schema ├── config.yml # Bot configuration ├── db.js # MongoDB connection utility ├── index.js # Main bot file ├── package.json # Dependencies and scripts └── README.md # This file
For development with auto-restart:
npm run devIf you encounter any issues:
| Back | FazBrowse Home | New Git URL |