diff --git a/lib/client.js b/lib/client.js index 0f9ec39..c5333d8 100644 --- a/lib/client.js +++ b/lib/client.js @@ -279,7 +279,7 @@ class PlugAPI extends EventEmitter3 { * @private * @type {String} */ - this.socketUrl = 'wss://godj.plug.dj:443/socket'; + this.socketUrl = 'wss://ws-prod.plug.dj:443/socket'; /** * WebSocket (connection to plug.DJ's socket server) @@ -2003,7 +2003,7 @@ class PlugAPI extends EventEmitter3 { * @since 5.0.0 * * @example - * bot.setSocketURL('wss://godj.plug.dj'); + * bot.setSocketURL('wss://ws-prod.plug.dj'); */ setSocketURL(url) { if (!url || !Object.is(typeof url, 'string') || !url.startsWith('wss') || url.indexOf('plug.dj') < 0) {