This commit is contained in:
parent
40964578c5
commit
50264ac1d4
3
index.js
3
index.js
|
@ -364,7 +364,8 @@ const handleDiscord = function (data) {
|
|||
const fromChannel = data.data.channel.room;
|
||||
const bodyData = data.data.body;
|
||||
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})
|
||||
let embed = {
|
||||
description: `<t:${product_id.timestamp / 1000}:T> <t:${product_id.timestamp / 1000}:R> ${bodyData.string}`,
|
||||
|
|
Loading…
Reference in a new issue