This commit is contained in:
Cynthia Foxwell 2025-10-09 18:28:36 -06:00
parent fe00f3dfbf
commit 856e413447
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -259,9 +259,10 @@ process.title = `HiddenPhox`;
bot.connect();
Object.defineProperty(VoiceConnection, "udpSocket", {
Object.defineProperty(VoiceConnection.prototype, "udpSocket", {
configurable: true,
set(socket) {
console.log("socket", socket);
if (socket != null) {
socket.bind(27019);
}