Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] channels registered with setvc do not respect the alonetimeuntilstop configuration #1541

Open
3 tasks done
Th3Gavst3r opened this issue Apr 10, 2024 · 0 comments

Comments

@Th3Gavst3r
Copy link

Th3Gavst3r commented Apr 10, 2024

Bug Description

If a server has a Voice Channel configured with setvc, there is a playlist configured with autoplaylist, and there are not active users in the channel when the bot starts, the bot will remain permanently idle in that channel on startup despite the alonetimeuntilstop configuration.

Steps to Reproduce

  1. Set alonetimeuntilstop = 5 in config.txt
  2. setvc General
  3. autoplaylist myplaylist
  4. Make sure no users are in the General voice channel
  5. Restart the bot
    The bot joins General and does not leave after 5 seconds.

Expected Result

The bot should either not join channels which have no active listeners, or disconnect after alonetimeuntilstop as usual.

Debug Output

System Properties:
  java.version = 16.0.2
  java.vm.name = Java HotSpot(TM) 64-Bit Server VM
  java.vm.specification.version = 16
  java.runtime.name = Java(TM) SE Runtime Environment
  java.runtime.version = 16.0.2+7-67
  java.specification.version = 16
  os.arch = amd64
  os.name = Windows 10

JMusicBot Information:
  Version = 0.4.0
  Owner = 139935188837728256
  Prefix = @mention
  AltPrefix = null
  MaxSeconds = 0
  NPImages = false
  SongInStatus = false
  StayInChannel = false
  UseEval = false
  UpdateAlerts = false

Dependency Information:
  JDA Version = 4.4.1_353
  JDA-Utilities Version = 3.0.5
  Lavaplayer Version = 727959e9f621fc457b3a5adafcfffb55fdeaa538-SNAPSHOT

Runtime Information:
  Total Memory = 80
  Used Memory = 25

Discord Information:
  ID = 925614830528888834
  Guilds = 3
  Users = 2

Additional Info

No response

Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant