1
1
mirror of https://github.com/Burn-E99/GroupUp.git synced 2026-06-04 00:43:49 -04:00

Add color to promotion notification

This commit is contained in:
Ean Milligan (Bastion)
2023-04-08 04:38:33 -04:00
parent c00e8e7c83
commit 485b232664

View File

@@ -95,6 +95,7 @@ export const removeMemberFromEvent = async (bot: Bot, interaction: Interaction,
// Notify member of promotion // Notify member of promotion
await sendDirectMessage(bot, memberToPromote.id, { await sendDirectMessage(bot, memberToPromote.id, {
embeds: [{ embeds: [{
color: successColor,
title: 'Good news, you\'ve been promoted!', title: 'Good news, you\'ve been promoted!',
description: `A member left [the full event](${utils.idsToMessageUrl(urlIds)}) in ${ description: `A member left [the full event](${utils.idsToMessageUrl(urlIds)}) in ${
guildDetails?.name || '`failed to get guild name`' guildDetails?.name || '`failed to get guild name`'