diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-01-24 21:10:03 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-24 21:10:03 -0800 |
| commit | dc16a1bfba111fe0e26e134c3071d9856fb8cee4 (patch) | |
| tree | c6eebd9ac3e5e4329103bf65f6d799fa2b50454b /BDFireToWebsocket.plugin.js | |
| parent | 44ada35f0c51e42f7cccd44857c50baa30ad8ad7 (diff) | |
Diffstat (limited to 'BDFireToWebsocket.plugin.js')
| -rw-r--r-- | BDFireToWebsocket.plugin.js | 5 |
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'; |
