mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 12:17:37 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user