This commit is contained in:
parent
49348b9698
commit
381cdae559
2
index.js
2
index.js
|
@ -367,7 +367,7 @@ const handleDiscord = function (data) {
|
|||
evt.code = product_id.pil.substring(0, 3);
|
||||
console.log(`${colors.cyan("[INFO]")} ${product_id.timestamp} ${evt.code} (${evt.priority}) ${body}`);
|
||||
let embed = {
|
||||
description: `<t:${product_id.timestamp / 1000}:T> <t:${product_id.timestamp / 1000}:R> ${body.string}`,
|
||||
description: `<t:${new Date(product_id.timestamp) / 1000}:T> <t:${new Date(product_id.timestamp) / 1000}:R> ${body.string}`,
|
||||
color: parseInt(config.priorityColors[evt.priority].replace("#", ""), 16) || 0x000000,
|
||||
timestamp: product_id.timestamp,
|
||||
footer: {
|
||||
|
|
Loading…
Reference in a new issue