fix(notification): change discord ping visibility (#168)

Co-authored-by: Jef LeCompte <jeffreylec@gmail.com>
Co-authored-by: bmalaski <5288648+bmalaski@users.noreply.github.com>
This commit is contained in:
xdMatthewbx
2020-09-21 14:50:40 -04:00
committed by GitHub
parent 0df2dcfbd4
commit 9675c5b8d6
+2 -2
View File
@@ -15,8 +15,8 @@ export function sendDiscordMessage(cartUrl: string, link: Link) {
embed.addField('Brand', link.brand, true);
embed.addField('Model', link.model, true);
if (notifyGroup !== '') {
embed.addField('Attention', notifyGroup, true);
if (notifyGroup) {
embed.setText(notifyGroup);
}
embed.setColor(0x76B900);