Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

[actions] setSocketURL

Thedark1337 edited this page Feb 11, 2017 · 1 revision

setSocketURL(url)

Sets the socketUrl to the url that WebSocket requests will be sent to


Parameters

url

string

The url to set the socketUrl to.


Returns

true if socketUrl changed, false if not


Example

bot.setSocketURL('wss://plug.dj:443/socket');
Clone this wiki locally