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

add guild and user id logging to report command to facilitate data deletion.

This commit is contained in:
Ean Milligan
2024-05-21 04:22:26 -04:00
parent 2e3435db51
commit a7ecac486b
2 changed files with 4 additions and 1 deletions

View File

@@ -31,6 +31,9 @@ const execute = (bot: Bot, interaction: Interaction) => {
color: infoColor2,
title: 'USER REPORT:',
description: interaction.data.options[0].value as string,
footer: {
text: `${interaction.guildId}-${interaction.user.id}`,
},
}],
}).catch((e: Error) => utils.commonLoggers.interactionSendError('report.ts:28', interaction, e));
bot.helpers.sendInteractionResponse(