mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-10 04:01:37 +02:00
Add auto disconnect
This commit is contained in:
parent
32cb3ca4ae
commit
ac21b5657b
5 changed files with 45 additions and 19 deletions
|
@ -16,9 +16,9 @@ export enum STATUS {
|
|||
|
||||
export default class {
|
||||
public status = STATUS.DISCONNECTED;
|
||||
public voiceConnection: VoiceConnection | null = null;
|
||||
private readonly queue: Queue;
|
||||
private readonly cacheDir: string;
|
||||
private voiceConnection: VoiceConnection | null = null;
|
||||
private dispatcher: StreamDispatcher | null = null;
|
||||
private playPositionInterval: NodeJS.Timeout | undefined;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue