bridge bot api for discord servers
Find a file
hippoz e33f6f7cfd
Add GatewayServer and GatewayClient(frontend)
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.
2022-02-06 03:48:28 +02:00
frontend Add GatewayServer and GatewayClient(frontend) 2022-02-06 03:48:28 +02:00
public fix polling and add web app 2022-02-02 20:24:14 +02:00
routes add endpoint to poll all guilds the user has access to 2022-02-02 23:48:18 +02:00
.gitignore Initial commit. 2022-02-01 00:01:11 +02:00
common.js hopefully make the DiscordClient connection more robust 2022-02-03 20:41:23 +02:00
config.js add custom discord client and add polling endpoint 2022-02-02 11:46:42 +02:00
DiscordClient.js set resuming to false once we try to connect] 2022-02-03 20:44:07 +02:00
GatewayServer.js Add GatewayServer and GatewayClient(frontend) 2022-02-06 03:48:28 +02:00
index.js Add GatewayServer and GatewayClient(frontend) 2022-02-06 03:48:28 +02:00
package.json add custom discord client and add polling endpoint 2022-02-02 11:46:42 +02:00
tokens.js add custom discord client and add polling endpoint 2022-02-02 11:46:42 +02:00
WatchedGuild.js Add GatewayServer and GatewayClient(frontend) 2022-02-06 03:48:28 +02:00
yarn.lock add custom discord client and add polling endpoint 2022-02-02 11:46:42 +02:00