All good now

This commit is contained in:
Christopher Cookman 2023-09-12 23:51:03 -06:00
parent e2cae8fbb8
commit e4547e197d
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -48,7 +48,7 @@ tf2.on("systemMessage", (msg) => {
console.log(`[TF2] New System Message: ${msg}`) console.log(`[TF2] New System Message: ${msg}`)
notif_hook.send({embeds: [ notif_hook.send({embeds: [
{ {
description: msg, description: `<:Messages:1151242960655089744> ${msg}`,
color: Discord.Colors.Blue color: Discord.Colors.Blue
} }
]}) ]})
@ -56,9 +56,9 @@ tf2.on("systemMessage", (msg) => {
tf2.on("itemBroadcast", (msg, username, wasDestruction, defindex) => { tf2.on("itemBroadcast", (msg, username, wasDestruction, defindex) => {
console.log(`[TF2] New Item :\nMsg:${msg}\nUser:${username}\nDestroy?:${wasDestruction}`); console.log(`[TF2] New Item :\nMsg:${msg}\nUser:${username}\nDestroy?:${wasDestruction}`);
pan_hook.send({content: "@everyone",embeds: [ pan_hook.send({embeds: [
{ {
description: msg, description: `<:Alert:1151242961485562008> ${msg}`,
color: wasDestruction?Discord.Colors.Red:Discord.Colors.Gold color: wasDestruction?Discord.Colors.Red:Discord.Colors.Gold
} }
]}) ]})
@ -69,7 +69,7 @@ tf2.on("displayNotification", (title, body) => {
console.log(`[TF2] New Notif: ${title}: ${body}`) console.log(`[TF2] New Notif: ${title}: ${body}`)
ring_hook.send({embeds: [ ring_hook.send({embeds: [
{ {
description: body, description: `<:Alert:1151242961485562008> ${body}`,
color: Discord.Colors.Gold color: Discord.Colors.Gold
} }
]}) ]})