fix
This commit is contained in:
parent
fe00f3dfbf
commit
856e413447
1 changed files with 2 additions and 1 deletions
|
@ -259,9 +259,10 @@ process.title = `HiddenPhox`;
|
||||||
|
|
||||||
bot.connect();
|
bot.connect();
|
||||||
|
|
||||||
Object.defineProperty(VoiceConnection, "udpSocket", {
|
Object.defineProperty(VoiceConnection.prototype, "udpSocket", {
|
||||||
configurable: true,
|
configurable: true,
|
||||||
set(socket) {
|
set(socket) {
|
||||||
|
console.log("socket", socket);
|
||||||
if (socket != null) {
|
if (socket != null) {
|
||||||
socket.bind(27019);
|
socket.bind(27019);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue