aboutsummaryrefslogtreecommitdiffstats
path: root/BDFireToWebsocket.plugin.js
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-01-24 21:10:03 -0800
committerGitHub <noreply@github.com>2026-01-24 21:10:03 -0800
commitdc16a1bfba111fe0e26e134c3071d9856fb8cee4 (patch)
treec6eebd9ac3e5e4329103bf65f6d799fa2b50454b /BDFireToWebsocket.plugin.js
parent44ada35f0c51e42f7cccd44857c50baa30ad8ad7 (diff)
update to BetterDiscord v1.13 APIHEAD0.0.0.5main
Diffstat (limited to 'BDFireToWebsocket.plugin.js')
-rw-r--r--BDFireToWebsocket.plugin.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/BDFireToWebsocket.plugin.js b/BDFireToWebsocket.plugin.js
index 1a5e85b..27a5b2a 100644
--- a/BDFireToWebsocket.plugin.js
+++ b/BDFireToWebsocket.plugin.js
@@ -2,13 +2,12 @@
* @name BDFireToWebsocket
* @author Pinapelz
* @description Broadcasts messages from Discord to a WebSocket server
- * @version 0.0.5
+ * @version 0.0.0.5
*/
const { Webpack } = BdApi;
const { Filters } = Webpack;
- const Dispatcher = Webpack.getModule(Filters.byKeys("isDispatching", "subscribe"));
-
+ const Dispatcher = Webpack.getStore("MessageStore")._dispatcher;
let socket;
let defaultWebSocketAddress = BdApi.Data.load("BDFireToWebSocket", "webSocketAddress") || 'ws://localhost:8765';
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage