fix: allow included mentions on payment

This commit is contained in:
syntaxbullet
2025-12-23 18:44:17 +01:00
parent b833796fb9
commit 808fbef11b

View File

@@ -55,7 +55,7 @@ export const pay = createCommand({
.setColor("Green") .setColor("Green")
.setTimestamp(); .setTimestamp();
await interaction.editReply({ embeds: [embed], content: `<@${receiverId}>` }); await interaction.editReply({ embeds: [embed], allowedMentions: { users: [receiverId] } });
} catch (error: any) { } catch (error: any) {
if (error instanceof UserError) { if (error instanceof UserError) {