jagrosh / jagrosh/MusicBot

[Feature Request] Time before disconnect option

Open
#1,053 4 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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.

No relation to any problems.

What is your ideal solution to the problem?

It's really jarring how, when enabled, the bot disconnects right after the queue finishes. Would be nice if we could have an option for time intervals e.g. 30s, 5m etc (similar to alonetimeuntilstop)

How would this feature be used?

in config under stayinchannel, an option called queuefinishstaytime or something of the sort would dictate how long the bot stays in a channel before disconnecting after the queue has finished

Additional Info

No response

Checklist

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the configuration and disconnect logic for stayinchannel, then compare it with the existing alonetimeuntilstop behavior. Add a configurable interval that applies after the queue finishes, and verify that the bot remains in the channel for that interval before disconnecting.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
audio-video-rtc
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.