{"id":29749874,"url":"https://github.com/drgitpos/reloc","last_synced_at":"2026-04-26T23:31:12.444Z","repository":{"id":284564909,"uuid":"951271152","full_name":"DRGitPOS/reloc","owner":"DRGitPOS","description":"Reloc is a simple Discord bot capable of moving and/or disconnecting users from voice channels.","archived":false,"fork":false,"pushed_at":"2025-03-19T12:26:14.000Z","size":88,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-15T20:52:36.183Z","etag":null,"topics":["bot","discord"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DRGitPOS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-19T12:25:26.000Z","updated_at":"2025-03-29T11:31:53.000Z","dependencies_parsed_at":"2025-03-26T14:53:48.883Z","dependency_job_id":"c162e4f5-f9d2-4c72-80a9-523088fd5481","html_url":"https://github.com/DRGitPOS/reloc","commit_stats":null,"previous_names":["longzhang920909/reloc","o920909/reloc","drgitpos/reloc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DRGitPOS/reloc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DRGitPOS%2Freloc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DRGitPOS%2Freloc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DRGitPOS%2Freloc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DRGitPOS%2Freloc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DRGitPOS","download_url":"https://codeload.github.com/DRGitPOS/reloc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DRGitPOS%2Freloc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32317162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bot","discord"],"created_at":"2025-07-26T12:13:52.282Z","updated_at":"2026-04-26T23:31:12.438Z","avatar_url":"https://github.com/DRGitPOS.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reloc\n\nReloc is a simple Discord bot capable of moving and/or disconnecting users from voice channels.\n\n## Configurations\n\nReloc can be configured using the following environment variables\n\n- `BOT_TOKEN` **(required)** - The bot token\n- `CLIENT_ID` **(required)** - Client ID\n- `BASE_COMMAND` **(optional)** - Slash command, default to `reloc`\n\n## Running\n\n- ### [Using Docker](#using-docker-1)\n- ### [Using Docker Compose](#using-docker-compose-1)\n- ### [Run from source](#run-from-source-1)\n\n### Using Docker\n```sh\ndocker run --rm \\\n    -e BOT_TOKEN=\u003cyour bot token\u003e \\\n    -e CLIENT_ID=\u003cclient id\u003e \\\n    ghcr.io/vittee/reloc:latest\n```\n\n### Using Docker Compose\n```yaml\nname: reloc\n\nservices:\n  reloc:\n    image: ghcr.io/vittee/reloc:latest\n    environment:\n      - BOT_TOKEN=\u003cyour bot token\u003e\n      - CLIENT_ID=\u003cclient id\u003e\n```\n\n### Run from source\nSimply clone or download this repository. Put the `BOT_TOKEN` and `CLIENT_ID` into a new file named `.env`\n\n\u003e .env\n```\nBOT_TOKEN=\u003cyour bot token\u003e\nCLIENT_ID=\u003cclient id\u003e\n```\n\nMake sure you have [Bun](https://bun.sh/) installed and then execute this command.\n\n```sh\nbun start\n```\n\n## Adding bot to your servers\nUpon running, a URL is printed to the output. Simply follow that link.\n\n## Available Commands\n\n### `kick-all`\nDisconnect all users from a voice channel.\n\n```\n/reloc kick-all\n```\n\n#### Arguments\n- `channel1` **(required)** - A voice channel\n- `channel2`...`channel5` **(optional)** - Voice channels\n- `with-bot` **(optional)** - Normally, Reloc will not disconnect bot users unless this value is set to `True`\n- `reason` **(optional)** - The reason for the disconnection\n\n### `kick-role`\nDisconnect all users having the specified role from all voice channels.\n\n```\n/reloc kick-role\n```\n\n#### Arguments\n- `role1` **(required)** - The role for users to be disconnected\n- `role2`..`role5` **(optional)** - The roles for users to be disconnected\n- `with-bot` **(optional)** - Normally, Reloc will not disconnect bot users unless this value is set to `True`\n- `reason` **(optional)** - The reason for the disconnection\n\n### `move-all`\nMove all users from a voice channel into a new channel.\n\n```\n/reloc move-all\n```\n\n#### Arguments\n- `from1` **(required)** - A voice channel from which to move users\n- `to` **(required)** - A voice channel to which users will be moved into\n- `from2`...`from5` **(optional)** - Voice channels from which to move users\n- `with-bot` **(optional)** - Normally, Reloc will not disconnect bot users unless this value is set to `True`\n\n### `move-role`\nMove all users having the specified role into a new channel.\n\n```\n/reloc move-role\n```\n\n#### Arguments\n- `role1` **(required)** - The role for users to be moved\n- `to` **(required)** - A voice channel to which users will be moved into\n- `role2`..`role5` **(optional)** - The roles for users to be moved\n- `with-bot` **(optional)** - Normally, Reloc will not disconnect bot users unless this value is set to `True`\n\n### `annihilate` :warning:\nDisconnect **all users** from all voice channels.\n\n\u003e [!WARNING]\n\u003e This command is server-wide, it disconnects **all users** from **all voice channels**.\n\n```\n/reloc annihilate\n```\n\n#### Arguments\n- `with-bot` **(optional)** - Normally, Reloc will not disconnect bot users unless this value is set to `True`\n- `reason` **(optional)** - The reason for the disconnection\n\n### `marshal` :warning:\nMove **all users** into a new voice channel.\n\n\u003e [!WARNING]\n\u003e This command is server-wide, it moves **all users** from **all voice channels**.\n\n```\n/reloc marshal\n```\n\n#### Arguments\n- `to` **(required)** - A voice channel to which users will be moved into\n- `with-bot` **(optional)** - Normally, Reloc will not disconnect bot users unless this value is set to `True`\n\n### `kick`\nDisconnect up to 10 users from all voice channels.\n\n```\n/reloc kick\n```\n\n#### Arguments\n- `user1`...`user10`  - List of users to be disconnected, at least `user1` must be specified\n- `reason` **(optional)** - The reason for the disconnection\n\n### `move`\nMove up to 10 users into a new voice channel\n\n```\n/reloc move\n```\n\n#### Arguments\n- `to` **(required)** - A voice channel to which users will be moved into\n- `user1`...`user10`  - List of users to be disconnected, at least `user1` must be specified\n\n### `quit`\nKick yourself.\n\nThis is useful to leave a message when leaving from a voice channel.\n\n### `protect`\nProtect yourself from being kicked, the duration for the protection is random.\n\n# Authors\n- [Wittawas Nakkasem (vittee)](https://github.com/vittee)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrgitpos%2Freloc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrgitpos%2Freloc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrgitpos%2Freloc/lists"}