Add color to promotion notification
This commit is contained in:
parent
c00e8e7c83
commit
485b232664
|
@ -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`'
|
||||||
|
|
Loading…
Reference in New Issue