# autoMover A Vencord plugin that automatically moves target users randomly between voice channels when they connect, disconnects them, or applies server mute/deafen on join. ## Features - **Multi-user support** — add multiple users with per-user configuration - **Auto-move** — moves a user to random voice channels every N milliseconds - **Auto-disconnect** — disconnects a user as soon as they join a voice channel - **Auto server mute** — server-mutes a user when they join a voice channel - **Auto server deafen** — server-deafens a user when they join a voice channel - **Mutual exclusion** — auto-move and auto-disconnect cannot be active simultaneously for the same user/server; enabling one automatically disables the other - **Independent actions** — server mute and server deafen work independently of move/disconnect; they can be combined with any mode - **Per-user toggle** — enable/disable for individual users - **Configurable delay** — set the interval between moves in milliseconds (default: 2000) - **Server-specific** — target a specific server or all servers (`*`) - **Right-click context menu** — four checkboxes: - **Auto Mover** — toggle auto-move - **Auto Disconnect** — toggle auto-disconnect - **Auto Server Mute** — toggle server mute on join - **Auto Server Deafen** — toggle server deafen on join - **Optional DM** — send a custom DM message when the action starts - **Immediate start** — if the user is already in a voice channel when toggled on, the action starts right away - **Safe toggling** — toggling any setting while a loop is running stops the old loop and restarts with the new configuration - **Toolbar button** — shuffle icon in the Discord toolbar for quick access to plugin settings ## Installation 1. Copy the `autoMover` folder to your Vencord `userPlugins` directory: ``` src/userPlugins/autoMover/ ├── index.tsx └── README.md ``` 2. Rebuild Vencord or restart Discord 3. Enable the plugin in Settings → Vencord → Plugins → autoMover ## Configuration ### Settings UI Access via: **Settings → Vencord → Plugins → autoMover** or click the shuffle icon in the toolbar. #### Adding an Entry 1. Enter the **User ID** (enable Developer Mode → right-click user → Copy User ID) 2. Select the **Server** to watch (or "All Servers") 3. Choose mode: - Unchecked **Auto Disconnect** → auto-move (moves user between channels) - Checked **Auto Disconnect** → disconnect (kicks from voice on join) 4. For auto-move: set the **Delay** in milliseconds (default: 2000) 5. Optionally enable **Server Mute** / **Server Deafen** (works with any mode) 6. Optionally enable **Send DM on start** and set a message 7. Click **Add Entry** #### Managing Entries Each entry in the list shows: - **User** and **Server** display - **Mode**: Move (with delay) or Disconnect - **Enabled** checkbox — master on/off; toggling on restarts if user is in VC - **Disconnect** checkbox — switches between move and disconnect mode; stops any active loop and restarts with the new mode - **Server Mute** checkbox — toggle server mute on join (independent) - **Server Deafen** checkbox — toggle server deafen on join (independent) - **Send DM** checkbox — toggle DM sending - **Delay input** (visible in Move mode) — milliseconds between moves - **DM message** text input (visible when Send DM is enabled) - **Remove** button — delete the entry ### Right-Click Context Menu Right-click any user anywhere in Discord: | Menu Item | What it does | |-----------|-------------| | **Auto Mover** | Creates/enables entry with auto-move mode. Disables auto-disconnect if it was active. Starts immediately if user is already in VC. | | **Auto Disconnect** | Creates/enables entry with disconnect mode. Disables auto-move if it was active. Disconnects immediately if user is already in VC. | | **Auto Server Mute** | Toggles server mute on join. Independent — does not affect move/disconnect. Applies immediately if user is already in VC. | | **Auto Server Deafen** | Toggles server deafen on join. Independent — does not affect move/disconnect. Applies immediately if user is already in VC. | Both options are mutually exclusive — checking one unchecks the other for the same user/server. ## How It Works ### Auto-Move Mode 1. The plugin listens to `VOICE_STATE_UPDATES` events 2. When a tracked and enabled user connects to a voice channel in the configured server: - Optionally sends a DM (if configured) - Picks a random voice channel in the server (different from their current one) - Moves the user via Discord's HTTP API - Repeats after the configured delay 3. Stops when: - The user disconnects from voice - The entry is disabled - The mode is switched to disconnect - The entry is removed - No other voice channels are available ### Auto-Disconnect Mode 1. When a tracked and enabled user connects to a voice channel: - Optionally sends a DM (if configured) - Applies server mute/deafen if configured - Disconnects them immediately via Discord's HTTP API (`channel_id: null`) 2. This is a one-shot action — no loop ### Auto Server Mute / Deafen 1. When a user connects to a voice channel and has server mute/deafen enabled: - Applies `mute: true` and/or `deaf: true` via Discord's HTTP API 2. Works independently of auto-move and auto-disconnect 3. Can be combined with any other mode ## Permissions Required You need the **Move Members** permission in the target server for auto-move and auto-disconnect. Server mute requires **Mute Members**, and server deafen requires **Deafen Members**. Without the appropriate permission, the corresponding action will silently fail (logged to console). ## License This plugin is part of Vencord and is licensed under GPL-3.0-or-later. ``` Vencord, a Discord client mod Copyright (c) 2026 Vendicated and contributors SPDX-License-Identifier: GPL-3.0-or-later ```