This commit is contained in:
parent
a2288a59c2
commit
378a4ecc13
5
index.js
5
index.js
|
@ -359,12 +359,9 @@ const handleDiscordGuilds = function (data) {
|
||||||
const rawBody = data.data.body;
|
const rawBody = data.data.body;
|
||||||
const text = data.data.productText;
|
const text = data.data.productText;
|
||||||
const product_id_raw = data.data.raw
|
const product_id_raw = data.data.raw
|
||||||
const product_id = data.product_data;
|
const product_id = data.data.product_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({
|
|
||||||
data,rawBody, text, product_id_raw, product_id, fromChannel, bodyData
|
|
||||||
})
|
|
||||||
|
|
||||||
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}`,
|
||||||
|
|
Loading…
Reference in a new issue