[BetterDiscord] BetterDiscordWebsock

Bluscream

Retired Staff
Contributor
May 8, 2015
967
934
211
This plugin is required by some of the plugins here, so if you want to use one of the plugins here, check the requirements first.
Name: BetterDiscordWebsock
Description: Simple websocket plugin that can be used to read/write socket data.
Author: Megamit/Mitchell
Download: https://raw.githubusercontent.com/Bluscream/BetterDiscord/master/plugins/0_websock.js (Press [ CTRL ] + [ S ] to save it.)
Installation:
  1. If you don't already have it, download and install Discord.
  2. If you don't already have it, download and install BetterDiscord.
  3. Save the 0_websock.jsunder "%appdata%\BetterDiscord\plugins\0_websock.js".

Currently available [webSock](https://github.com/Bluscream/BetterDiscord/blob/master/plugins/0_websock.js) functions:
Code:
webSock.sendData(opcode,data);
webSock.sendMessage(); //useless atm.
webSock.sendHeartbeat();
webSock.setStatus(game, idle);
 
Top