jagrosh / jagrosh/MusicBot

[Feature Request] Timer for Auto Disconnecting from Active Channel

Open
#1,314 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.8k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Description

### Is your feature request related to a problem? Please describe.

There is an auto disconnect after queue is finished feature, but we have no control over that.

### What is your ideal solution to the problem?

It would be nice if we can set a time limit to auto disconnect from an active channel instead of it disconnecting immediately when queue is finished.

### How would this feature be used?

1. Play a song
2. Nothing is queued
3. Song finishes, bot doesn't disconnect until a set time limit, like 5 minutes.
4. A new song is queued up at like 3 mins, resetting that timer.

### Additional Info

_No response_

### Checklist

- [X] I have checked [the documentation](https://jmusicbot.com/) to make sure this feature doesn't already exist
- [x] I have searched for [similar feature requests](https://github.com/jagrosh/MusicBot/labels/enhancement)
- [X] I have confirmed that my requests is **not** on the [list of things that will not be added](https://jmusicbot.com/things-that-wont-be-added)
- [X] I am running the latest version of the bot: ![Release](https://img.shields.io/github/release/jagrosh/MusicBot.svg)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing auto-disconnect-after-queue-finished behavior and the channel playback lifecycle. Define how the configurable idle timer starts, how new queued songs reset it, and how the bot disconnects when it expires; done means the behavior is configurable and works for the described playback sequence.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.