Open SriRamanujam opened 2 years ago
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.
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?
I would put it in the features package
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!