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

Feature request: Leave channel after some amount of time idle #26

Open
SriRamanujam opened this issue Sep 26, 2021 · 3 comments · May be fixed by #42
Open

Feature request: Leave channel after some amount of time idle #26

SriRamanujam opened this issue Sep 26, 2021 · 3 comments · May be fixed by #42

Comments

@SriRamanujam
Copy link

It would be nice if the bot would leave a voice channel after some configurable amount of time spent idle (that is, no tracks in the queue and not paused). I took a look around the repo but couldn't find a good place to add this functionality myself (though, to be fair I am very unfamiliar with both Kotlin and Spring so I'm still piecing together how main even functions). Happy to implement this and create a PR with some guidance if that would be easier on your end. Thanks for putting this bot together!

@freyacodes
Copy link
Owner

Are you still interested in doing this?

To answer your question of where this would be appropriate, you would create a new class annotated with @Service. I can elaborate further if needed.

@SriRamanujam
Copy link
Author

I am still interested, yes. I think I can buckle down with some Spring documentation and get something going. Do you have a preference as to where in the repo to place the new file?

@freyacodes
Copy link
Owner

I would put it in the features package

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

Successfully merging a pull request may close this issue.

2 participants