bridge bot api for discord servers
e33f6f7cfd
This commit adds a websocket server that clients can connect and authenticate to. Once they're authenticated, they will start to receive relevant events. One issue is that the server does not ping for dead connections yet and the fact that new listeners for the guild are added for each connection. There is also the bug in WatchedGuild that prevents other bridge users from seeing eachother's messages. |
||
---|---|---|
frontend | ||
public | ||
routes | ||
.gitignore | ||
common.js | ||
config.js | ||
DiscordClient.js | ||
GatewayServer.js | ||
index.js | ||
package.json | ||
tokens.js | ||
WatchedGuild.js | ||
yarn.lock |