From ec6388e9a097e80f4e3f6f8fd6a91cefa42d43be Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sat, 21 Jun 2025 00:52:09 -0600 Subject: [PATCH] Use fromChannel raw from ws --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 470f10a..930e7c8 100644 --- a/index.js +++ b/index.js @@ -363,7 +363,7 @@ const handleDiscord = function (data, randStr) { const product_id_raw = data.data.raw const product_id = data.data.product_data; - const fromChannel = data.data.channel.room; + const fromChannel = data.data.fromChannel; const body = data.data.body; var evt = events[product_id.pil.substring(0, 3)]; evt.code = product_id.pil.substring(0, 3);