ukulele icon indicating copy to clipboard operation
ukulele copied to clipboard

Feature request: Leave channel after some amount of time idle

Open SriRamanujam opened this issue 3 years ago • 3 comments

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!

SriRamanujam avatar Sep 26 '21 21:09 SriRamanujam

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.

freyacodes avatar Oct 24 '21 21:10 freyacodes

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?

SriRamanujam avatar Oct 31 '21 23:10 SriRamanujam

I would put it in the features package

freyacodes avatar Nov 01 '21 22:11 freyacodes