diff --git a/dist/src/Node/Node.d.ts b/dist/src/Node/Node.d.ts index 2dbb2e07..7f34a336 100644 --- a/dist/src/Node/Node.d.ts +++ b/dist/src/Node/Node.d.ts @@ -1,4 +1,3 @@ -/// import { Poru, PoruOptions, NodeGroup } from "../Poru"; import WebSocket from "ws"; import { Rest } from "./Rest"; diff --git a/dist/src/Node/Rest.d.ts b/dist/src/Node/Rest.d.ts index 6f75ad37..cb6da6f2 100644 --- a/dist/src/Node/Rest.d.ts +++ b/dist/src/Node/Rest.d.ts @@ -1,4 +1,3 @@ -/// import { ErrorResponses, Node } from "./Node"; import { Poru } from "../Poru"; import { trackData } from "../guild/Track"; diff --git a/dist/src/Player/Connection.js b/dist/src/Player/Connection.js index 93b3a65d..67c54897 100644 --- a/dist/src/Player/Connection.js +++ b/dist/src/Player/Connection.js @@ -48,6 +48,9 @@ class Connection { guildId: this.player.guildId, data: { voice: this.voice }, }); + setTimeout(async () => { + await this.player.pause(false); + }, 1000); this.player.poru.emit("debug", this.player.node.name, `[Voice] <- [Discord] : Voice Server Update | Server: ${this.region} Guild: ${this.player.guildId}`); } ; diff --git a/dist/src/Player/Connection.js.map b/dist/src/Player/Connection.js.map index 2139809f..4d3a6909 100644 --- a/dist/src/Player/Connection.js.map +++ b/dist/src/Player/Connection.js.map @@ -1 +1 @@ -{"version":3,"file":"Connection.js","sourceRoot":"","sources":["../../../src/Player/Connection.ts"],"names":[],"mappings":";;;AAOC,CAAC;AAgCD,CAAC;AAEF;;;;;;;GAOG;AACH,MAAa,UAAU;IACZ,MAAM,CAAS;IACf,SAAS,CAAgB;IACzB,MAAM,CAAgB;IACtB,KAAK,CAA2C;IAChD,SAAS,CAAU;IACnB,SAAS,CAAU;IAE1B;;;OAGG;IACH,YAAY,MAAc;QACtB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CA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AAI,CAAC,MAAM,CAAC,YAAY,KAAK,UAAU,EACzC,CAAC;YACC,IAAI,CAAC,MAAM,CAAC,YAAY,GAAG,UAAU,CAAC;QAC1C,CAAC;QAED,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,UAAU,IAAI,IAAI,CAAC;IAC9C,CAAC;IAAA,CAAC;CACL;AAlED,gCAkEC;AAAA,CAAC"} \ No newline at end of file +{"version":3,"file":"Connection.js","sourceRoot":"","sources":["../../../src/Player/Connection.ts"],"names":[],"mappings":";;;AAOC,CAAC;AAgCD,CAAC;AAEF;;;;;;;GAOG;AACH,MAAa,UAAU;IACZ,MAAM,CAAS;IACf,SAAS,CAAgB;IACzB,MAAM,CAAgB;IACtB,KAAK,CAA2C;IAChD,SAAS,CAAU;IACnB,SAAS,CAAU;IAE1B;;;OAGG;IACH,YAAY,MAAc;QACtB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,KAAK,GAAG;YACT,SAAS,EAAE,IAAI;YACf,KAAK,EAAE,IAAI;YACX,QAAQ,EAAE,IAAI;SACjB,CAAC;QACF,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QACvB,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;IAC3B,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,gBAAgB,CAAC,IAAkB;QAC5C,IAAI,CAAC,IAAI,CAAC,QAAQ;YAAE,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;QAEzE,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QAC9B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--git a/dist/src/Player/Player.d.ts b/dist/src/Player/Player.d.ts index 8ac4b1f1..47ea3ad9 100644 --- a/dist/src/Player/Player.d.ts +++ b/dist/src/Player/Player.d.ts @@ -1,5 +1,3 @@ -/// -/// import { Poru, ResolveOptions, EventData, ConnectionOptions } from "../Poru"; import { Node, NodeLinkGetLyrics } from "../Node/Node"; import { Track } from "../guild/Track"; diff --git a/dist/src/Poru.d.ts b/dist/src/Poru.d.ts index f7a7f17b..3424a713 100644 --- a/dist/src/Poru.d.ts +++ b/dist/src/Poru.d.ts @@ -1,5 +1,3 @@ -/// -/// import { Node, NodeLinkGetLyrics, NodeStats } from "./Node/Node"; import { EndSpeakingEventVoiceReceiverData, Player, StartSpeakingEventVoiceReceiverData } from "./Player/Player"; import { EventEmitter } from "events";