From e6e3f9fc1f806f71e1d6094cd52756d3429a0a76 Mon Sep 17 00:00:00 2001 From: kmmiio99o Date: Wed, 1 Oct 2025 21:56:24 +0200 Subject: [PATCH] Maybe fixed now? --- plugins/Commands/src/commands/lovefemboys.ts | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/plugins/Commands/src/commands/lovefemboys.ts b/plugins/Commands/src/commands/lovefemboys.ts index 0ce5a40..03cb114 100644 --- a/plugins/Commands/src/commands/lovefemboys.ts +++ b/plugins/Commands/src/commands/lovefemboys.ts @@ -280,9 +280,8 @@ export const lovefemboysCommand = { }, }; } else { - MessageActions.sendMessage(ctx.channel.id, { - content: errorMessage - }); + const fixNonce = Date.now().toString(); + MessageActions.sendMessage(ctx.channel.id, { content: errorMessage }, void 0, {nonce: fixNonce}); return { type: 4 }; } } @@ -301,9 +300,8 @@ export const lovefemboysCommand = { }; } else { console.log(`[LoveFemboys] Sending public message`); - MessageActions.sendMessage(ctx.channel.id, { - content - }); + const fixNonce = Date.now().toString(); + MessageActions.sendMessage(ctx.channel.id, { content }, void 0, {nonce: fixNonce}); return { type: 4 }; } } catch (error) { @@ -321,9 +319,8 @@ export const lovefemboysCommand = { }, }; } else { - MessageActions.sendMessage(ctx.channel.id, { - content: errorMessage - }); + const fixNonce = Date.now().toString(); + MessageActions.sendMessage(ctx.channel.id, { content: errorMessage }, void 0, {nonce: fixNonce}); return { type: 4 }; } }