Skip to content

Commit e93861d

Browse files
committed
Make class final and add JavaDoc
Signed-off-by: Chris Sdogkos <work@chris-sdogkos.com>
1 parent 42d61f6 commit e93861d

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

application/src/main/java/org/togetherjava/tjbot/features/voicechat/DynamicVoiceChat.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@
1818
import java.util.List;
1919
import java.util.regex.Pattern;
2020

21-
public class DynamicVoiceChat extends VoiceReceiverAdapter {
21+
/**
22+
* Handles dynamic voice channel creation and deletion based on user activity.
23+
* <p>
24+
* When a member joins a configured root channel, a temporary copy is created and the member is
25+
* moved into it. Once the channel becomes empty, it is deleted.
26+
*/
27+
public final class DynamicVoiceChat extends VoiceReceiverAdapter {
2228
private static final Logger logger = LoggerFactory.getLogger(DynamicVoiceChat.class);
2329
private final List<Pattern> dynamicVoiceChannelPatterns;
2430

0 commit comments

Comments
 (0)