Use fromChannel raw from ws
Some checks are pending
ptero-push / build (push) Waiting to run

This commit is contained in:
Christopher Cookman 2025-06-21 00:52:09 -06:00
parent 5ab763cde8
commit ec6388e9a0

View file

@ -363,7 +363,7 @@ const handleDiscord = function (data, randStr) {
const product_id_raw = data.data.raw const product_id_raw = data.data.raw
const product_id = data.data.product_data; const product_id = data.data.product_data;
const fromChannel = data.data.channel.room; const fromChannel = data.data.fromChannel;
const body = data.data.body; const body = data.data.body;
var evt = events[product_id.pil.substring(0, 3)]; var evt = events[product_id.pil.substring(0, 3)];
evt.code = product_id.pil.substring(0, 3); evt.code = product_id.pil.substring(0, 3);