Make it ping everyone only on pan deletions
This commit is contained in:
parent
707ed0e778
commit
621b590118
2
index.js
2
index.js
|
@ -63,7 +63,7 @@ tf2.on("systemMessage", (msg) => {
|
|||
|
||||
tf2.on("itemBroadcast", (msg, username, wasDestruction, defindex) => {
|
||||
console.log(`${colors.yellow("[TF2]")} New Item :$ {msg}`);
|
||||
pan_hook.send({content: wasDestruction?"":"@everyone",embeds: [
|
||||
pan_hook.send({content: wasDestruction?"@everyone":"",embeds: [
|
||||
{
|
||||
description: msg,
|
||||
color: wasDestruction?0xff0000:0xF1C40F
|
||||
|
|
Loading…
Reference in a new issue