diff --git a/index.js b/index.js index daf7d2c..21a03b4 100644 --- a/index.js +++ b/index.js @@ -363,7 +363,7 @@ const handleDiscordGuilds = function (data) { const product_id = data.data.product_data; const fromChannel = data.data.channel.room; const bodyData = data.data.body; - const evt = events[product_id_raw.pil.substring(0, 3)]; + const evt = events[product_id_raw.substring(0, 3)]; let embed = { description: ` ${bodyData.string}`,