Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoReconnect

AutoReconnect remembers your last Discord voice connection, reconnects automatically and opens the recovered server channel, DM or group call on screen.

Features

  • Reconnects when Discord starts.
  • Reconnects after temporary connection loss.
  • Supports server voice channels, stages, private calls and group calls.
  • Automatically opens the recovered call or channel on screen.
  • Optional reconnect delay; disabling it reconnects as soon as Discord is ready.
  • Detects intentional disconnections and does not force you back into the call.
  • Configurable retry limit and notifications.
  • Includes manual reconnect and forget-last-call toolbox actions.

Requirements

Custom Vencord plugins require a Vencord installation built from source.

Read the official Vencord guides before continuing:

Install Git, Node.js and pnpm. Verify that they are available:

git --version
node --version
pnpm --version

Already have Vencord built from source? Skip the Vencord clone step and install the plugin inside your existing src/userplugins folder.

Installation

Windows (PowerShell)

Open PowerShell and run:

Set-Location $HOME

git clone https://github.com/Vendicated/Vencord.git
Set-Location .\Vencord

pnpm install --frozen-lockfile

New-Item -ItemType Directory -Path .\src\userplugins -Force | Out-Null
Set-Location .\src\userplugins

git clone https://github.com/fevegit/AutoReconnect.git autoReconnect

Set-Location ..\..

pnpm build
pnpm inject

pnpm inject opens the Vencord installer. Select the Discord installation you want to patch.

After injection:

  1. Fully close Discord, including the system tray process.
  2. Start Discord again.
  3. Open Settings -> Vencord -> Plugins.
  4. Enable AutoReconnect.

The final plugin path should be:

%USERPROFILE%\Vencord\src\userplugins\autoReconnect\

Linux (Bash)

Open a terminal and run:

cd "$HOME"

git clone https://github.com/Vendicated/Vencord.git
cd Vencord

pnpm install --frozen-lockfile

mkdir -p src/userplugins
cd src/userplugins

git clone https://github.com/fevegit/AutoReconnect.git autoReconnect

cd ../..

pnpm build
pnpm inject

pnpm inject opens the Vencord installer. Select the Discord installation you want to patch.

After injection:

  1. Fully close Discord.
  2. Start Discord again.
  3. Open Settings -> Vencord -> Plugins.
  4. Enable AutoReconnect.

The final plugin path should be:

$HOME/Vencord/src/userplugins/autoReconnect/

For Vesktop or another non-standard Discord client, follow the official Vencord installation guide for that client and keep the plugin inside the same Vencord source tree.

Updating

Windows (PowerShell)

Set-Location "$HOME\Vencord\src\userplugins\autoReconnect"
git pull --ff-only

Set-Location "$HOME\Vencord"
pnpm build
pnpm inject

Fully restart Discord afterwards.

Linux (Bash)

cd "$HOME/Vencord/src/userplugins/autoReconnect"
git pull --ff-only

cd "$HOME/Vencord"
pnpm build
pnpm inject

Fully restart Discord afterwards.

Uninstalling

Disable the plugin in Vencord before removing its folder.

Windows (PowerShell)

Set-Location "$HOME\Vencord"

Remove-Item -LiteralPath ".\src\userplugins\autoReconnect" -Recurse -Force

pnpm build
pnpm inject

Linux (Bash)

cd "$HOME/Vencord"

rm -rf -- "src/userplugins/autoReconnect"

pnpm build
pnpm inject

Fully restart Discord after rebuilding.

Troubleshooting

The plugin does not appear

Check that the plugin folder is exactly:

Vencord/src/userplugins/autoReconnect/

The folder itself must directly contain the plugin source files such as index.ts or index.tsx.

pnpm is not recognized or not found

Install pnpm and reopen the terminal. Then verify it with:

pnpm --version

The build fails after a Vencord update

Update both Vencord and this plugin, reinstall dependencies and rebuild:

git pull
pnpm install --frozen-lockfile
pnpm build

Notes

  • This is an unofficial custom userplugin and is not supported by the Vencord team.
  • Custom plugins require rebuilding Vencord whenever their source changes.
  • Use src/userplugins; do not copy the plugin into src/plugins.
  • This repository contains only plugin source code and public documentation.

Acknowledgements

AutoReconnect was inspired by VoiceRejoin from Equicord, created by omaw and Key.

I used the original plugin and appreciated the automatic rejoin concept, but I wanted the recovered call to also open on screen and needed more control over the reconnect process. AutoReconnect was created as an independent implementation with optional zero-delay reconnection, intentional-disconnect detection, server and private-call support, per-account persistence and manual recovery actions.

Many thanks to omaw, Key and the Equicord contributors for their work and for inspiring this project.

License

GPL-3.0-or-later.

About

Automatically reconnects to your last Discord voice call and opens it on screen.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages