This commit is contained in:
parent
c3857fe549
commit
4c3fa97c8c
2
index.js
2
index.js
|
@ -365,7 +365,7 @@ const handleDiscordGuilds = function (data) {
|
||||||
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_raw.substring(0, 3)];
|
const evt = events[product_id_raw.substring(0, 3)];
|
||||||
console.log(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}`,
|
||||||
color: parseInt(config.priorityColors[evt.priority].replace("#", ""), 16) || 0x000000,
|
color: parseInt(config.priorityColors[evt.priority].replace("#", ""), 16) || 0x000000,
|
||||||
|
|
Loading…
Reference in a new issue