diff --git a/index.js b/index.js index 930e7c8..19fd581 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.fromChannel; + const fromChannel = data.data.channel; const body = data.data.body; var evt = events[product_id.pil.substring(0, 3)]; evt.code = product_id.pil.substring(0, 3);