forked from syntaxbullet/AuroraBot-discord
fix: allow included mentions on payment
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user