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