{"id":20140762,"url":"https://github.com/0xgingi/request-bot","last_synced_at":"2025-03-02T23:25:26.217Z","repository":{"id":260275925,"uuid":"880834736","full_name":"0xGingi/request-bot","owner":"0xGingi","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-30T13:38:41.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T07:56:36.147Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/0xGingi.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}},"created_at":"2024-10-30T12:58:01.000Z","updated_at":"2024-12-01T09:16:33.000Z","dependencies_parsed_at":"2024-10-30T14:37:55.444Z","dependency_job_id":null,"html_url":"https://github.com/0xGingi/request-bot","commit_stats":null,"previous_names":["0xgingi/request-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xGingi%2Frequest-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xGingi%2Frequest-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xGingi%2Frequest-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xGingi%2Frequest-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xGingi","download_url":"https://codeload.github.com/0xGingi/request-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241584862,"owners_count":19986241,"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":[],"created_at":"2024-11-13T21:55:00.153Z","updated_at":"2025-03-02T23:25:26.101Z","avatar_url":"https://github.com/0xGingi.png","language":"JavaScript","readme":"# Discord Request Bot\n\nA Discord bot that manages media requests for Jellyfin/Plex servers. Users can request movies or TV shows, and administrators can manage these requests with various status updates.\n\n## Features\n\n- Users can request movies/TV shows using slash commands\n- Admins receive DM notifications for new requests\n- Admins can update request status (in progress, fulfilled, rejected, delayed)\n- Users receive DM notifications when their request status changes\n- Status tracking with visual indicators (emojis)\n- Request listing with status filtering\n- Persistent storage of requests using JSON\n- Dockerized for easy deployment\n\n## Prerequisites\n\n- Docker or NodeJS\n- Discord Bot Token\n- Discord User ID (for admin)\n\n## Setup\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/0xgingi/request-bot.git\n    cd request-bot\n    ```\n2. Create a `.env` file and add your Discord bot token and admin user ID:\n    ```bash\n    TOKEN=your_discord_bot_token\n    ADMIN_ID=your_discord_user_id\n    ```\n3. Create an empty requests.json file:\n    ```json\n    {}\n    ```\n4. Run the Docker container:\n    ```bash\n    ./run.sh\n    ```\n\n## Usage\n\n### User Commands\n- `/request \u003ctitle\u003e` - Request a movie or TV show\n\n### Admin Commands\n- `/status \u003crequest_id\u003e \u003cstatus\u003e` - Update the status of a request\n  - Available statuses: in progress, fulfilled, rejected, delayed\n- `/list [status]` - List all requests, optionally filtered by status\n  - Available filters: pending, in progress, fulfilled, rejected, delayed\n- `/clear \u003cstatus\u003e` - Clear all requests with a specific status\n## Status Indicators\n- ⏳ Pending\n- 🔄 In Progress\n- ✅ Fulfilled\n- ❌ Rejected\n- ⏰ Delayed\n\n## Manual Deployment\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/0xgingi/request-bot.git\n    cd request-bot\n    ```\n2. Create a `.env` file and add your Discord bot token and admin user ID:\n    ```bash\n    TOKEN=your_discord_bot_token\n    ADMIN_ID=your_discord_user_id\n    ```\n3. Create an empty requests.json file:\n    ```json\n    {}\n    ```\n4. Install Node Dependencies:\n    ```bash\n    npm install\n    ```\n5. Start the bot:\n    ```bash\n    npm start\n    ```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xgingi%2Frequest-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xgingi%2Frequest-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xgingi%2Frequest-bot/lists"}