Remove timestamps from embeds

This commit is contained in:
Christopher Cookman 2022-07-23 12:53:36 -06:00
parent d1e7653708
commit a3d5844beb

View file

@ -29,7 +29,6 @@ tf2.on("systemMessage", (msg) => {
notif_hook.send({embeds: [ notif_hook.send({embeds: [
{ {
description: msg, description: msg,
timestamp: new Date(),
color: Discord.Colors.Gold color: Discord.Colors.Gold
} }
]}) ]})
@ -41,11 +40,10 @@ tf2.on("itemBroadcast", (msg, username, wasDestruction, defindex) => {
}) })
tf2.on("displayNotification", (title, body) => { tf2.on("displayNotification", (title, body) => {
console.log(`New Notif: ${title}: ${body}`) I'm console.log(`New Notif: ${title}: ${body}`)
ring_hook.send({embeds: [ ring_hook.send({embeds: [
{ {
description: body, description: body,
timestamp: new Date(),
color: Discord.Colors.Gold color: Discord.Colors.Gold
} }
]}) ]})
@ -61,4 +59,4 @@ bot.on("messageCreate", (msg) => {
} }
}) })
bot.login(config.discord.token); bot.login(config.discord.token);