This commit is contained in:
parent
2463349bf2
commit
213328bb60
2
index.js
2
index.js
|
@ -364,7 +364,7 @@ const handleDiscordGuilds = function (data) {
|
||||||
const fromChannel = data.data.channel.room;
|
const fromChannel = data.data.channel.room;
|
||||||
const bodyData = data.data.body;
|
const bodyData = data.data.body;
|
||||||
const evt = events[product_id_raw.substring(0, 3)];
|
const evt = events[product_id_raw.substring(0, 3)];
|
||||||
|
console.log(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