new WebSocket(options) Parameters: Name Type Description options object An object with options Properties Name Type Attributes Description heartbeatInterval number <optional> The amount of seconds between each heartbeat. Must be below or equal to 50. tokens array.<string> An array of bot tokens. reconnect boolean <optional> Tells the websocket to reconnect after a disconnect. Source: WebSocket.js, line 16