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:
@@ -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`'
|
||||||
|
|||||||
Reference in New Issue
Block a user