1
1
mirror of https://github.com/Burn-E99/GroupUp.git synced 2026-01-04 18:47:54 -05: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
await sendDirectMessage(bot, memberToPromote.id, {
embeds: [{
color: successColor,
title: 'Good news, you\'ve been promoted!',
description: `A member left [the full event](${utils.idsToMessageUrl(urlIds)}) in ${
guildDetails?.name || '`failed to get guild name`'