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

[actions] getSocketURL

Thedark1337 edited this page Feb 11, 2017 · 2 revisions

getSocketURL()

(5.0.0)

Gets the currently set socketUrl that WebSocket requests are being sent to.


Returns

Returns the socketUrl that is currently being used to send WebSocket requests to.


Example

const socketUrl = bot.getSocketURL('https://plug.dj');

console.log(socketUrl)
Clone this wiki locally