{"id":27968771,"url":"https://github.com/skyvps360/discord-partner-bot","last_synced_at":"2025-07-02T17:32:38.597Z","repository":{"id":302012697,"uuid":"965380904","full_name":"skyvps360/discord-partner-bot","owner":"skyvps360","description":"v1","archived":false,"fork":false,"pushed_at":"2025-06-30T04:37:38.000Z","size":6727,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T05:28:37.976Z","etag":null,"topics":["advertising","bump","discord","node"],"latest_commit_sha":null,"homepage":"https://skyvps360.xyz/partner","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skyvps360.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-13T03:13:15.000Z","updated_at":"2025-06-30T04:37:41.000Z","dependencies_parsed_at":"2025-06-30T05:39:04.485Z","dependency_job_id":null,"html_url":"https://github.com/skyvps360/discord-partner-bot","commit_stats":null,"previous_names":["skyvps360/discord-partner-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/skyvps360/discord-partner-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyvps360%2Fdiscord-partner-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyvps360%2Fdiscord-partner-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyvps360%2Fdiscord-partner-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyvps360%2Fdiscord-partner-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skyvps360","download_url":"https://codeload.github.com/skyvps360/discord-partner-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyvps360%2Fdiscord-partner-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263184658,"owners_count":23427063,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["advertising","bump","discord","node"],"created_at":"2025-05-07T21:07:06.040Z","updated_at":"2025-07-02T17:32:38.590Z","avatar_url":"https://github.com/skyvps360.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord Partner Bot\n\nA Discord bot that helps manage partnerships between Discord servers with an approval system and automated message bumping.\n\n## Prerequisites\n\n- [Node.js](https://nodejs.org/) (v18 or higher)\n- [Docker](https://www.docker.com/get-started/) and [Docker Compose](https://docs.docker.com/compose/install/)\n- [MongoDB](https://www.mongodb.com/) (or use the included Docker Compose setup)\n\n## Environment Variables\n\nCreate a `.env` file in the root directory with the following variables:\n\n```env\n# Discord Bot Configuration\nDISCORD_TOKEN=your_discord_bot_token\n\n# MongoDB Configuration\nMONGO_URI=mongodb://mongo:27017/discord_bot\n\n# Admin Configuration\nADMIN_SERVER_ID=your_admin_server_id\nADMIN_CHANNEL_ID=your_admin_channel_id\n\n# Web Server Configuration\nPORT=4444\nNODE_ENV=production\n```\n\n## Deployment Options\n\n### Using Docker Compose (Recommended)\n\n1. Ensure Docker and Docker Compose are installed on your system\n2. Update the `.env` file with your configuration\n3. Run the following commands:\n\n```bash\n# Build and start the containers\ndocker-compose up -d --build\n\n# View logs\ndocker-compose logs -f\n\n# Stop the containers\ndocker-compose down\n```\n\nThe bot will be available and connected to a MongoDB instance running in a separate container.\n\n### Manual Setup (Without Docker)\n\n1. Install dependencies:\n\n   ```bash\n   npm install\n   ```\n\n2. Start the bot:\n\n   ```bash\n   node index.js\n   ```\n\n### PM2 Process Manager (Production)\n\nFor production deployments, you can use PM2 to keep the bot running:\n\n```bash\n# Install PM2 globally\nnpm install -g pm2\n\n# Start the application\npm2 start index.js --name \"discord-partner-bot\"\n\n# Set up PM2 to start on system boot\npm2 startup\npm2 save\n\n# View logs\npm2 logs discord-partner-bot\n```\n\n## Common PM2 Commands\nView running apps: `pm2 ls`\n\nRestart app: `pm2 restart my-app`\n\nStop app: `pm2 stop my-app`\n\nDelete app: `pm2 delete my-app`\n\nView logs: `pm2 logs my-app`\n\n## Features\n- Partnership management with approval system\n- Automated message bumping with 30-minute cooldown\n- Role-based permissions\n- Partnership message approval system\n- Logging system in each server\n- Automatic invite link management\n\n## Commands\n### General Commands\n- `/help` - View all available commands and their descriptions\n- `/register` - Register your server for partnerships (requires approval)\n- `/setchannel` - Set the channel for receiving partner advertisements\n- `/unregister` - Remove your server from the partner network\n- `/bump` - Send your advertisement to all partner servers (30-min cooldown)\n- `/setmessage` - Set your server's partnership message (requires approval)\n- `/setinvite` - Set your server's invite link\n- `/invite` - Get the bot's invite link\n\n### Administrative Commands\n- `/setrole` - Set the role required to use partner commands (Server Owner only)\n- `/setstatus` - Change the bot's status message (Bot Owner only)\n\n## Permissions\n- Server owners can set a partner role that allows members to use partnership commands\n- Users need either the partner role or administrator permissions to use most commands\n- The bot automatically creates an 'ad-logs' channel for logging partnership activities\n\n### Brought to you by the $3 Ryzen Epyc KVM VPS Provider [SkyVPS360.xyz](https://skyvps360.xyz/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyvps360%2Fdiscord-partner-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyvps360%2Fdiscord-partner-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyvps360%2Fdiscord-partner-bot/lists"}