Forgor
Some checks are pending
ptero-push / build (push) Waiting to run

This commit is contained in:
Christopher Cookman 2025-05-08 00:34:21 -06:00
parent 40964578c5
commit 50264ac1d4

View file

@ -364,7 +364,8 @@ const handleDiscord = function (data) {
const fromChannel = data.data.channel.room; const fromChannel = data.data.channel.room;
const bodyData = data.data.body; const bodyData = data.data.body;
console.log(product_id_raw.substring(0, 3)) console.log(product_id_raw.substring(0, 3))
const 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);
console.log({product_id_raw, product_id, fromChannel, bodyData, evt}) console.log({product_id_raw, product_id, fromChannel, bodyData, evt})
let embed = { let embed = {
description: `<t:${product_id.timestamp / 1000}:T> <t:${product_id.timestamp / 1000}:R> ${bodyData.string}`, description: `<t:${product_id.timestamp / 1000}:T> <t:${product_id.timestamp / 1000}:R> ${bodyData.string}`,