From f0745a3c9e6577770f4c0ec509b36530face8284 Mon Sep 17 00:00:00 2001 From: cocobo1 Date: Mon, 22 Sep 2025 22:04:55 +0300 Subject: [PATCH] fix(corecommands): fixed core commands (thanks windows VM user!) --- src/core/commands/debug.ts | 3 ++- src/core/commands/plugins.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/core/commands/debug.ts b/src/core/commands/debug.ts index 2cf12df..b1975c6 100644 --- a/src/core/commands/debug.ts +++ b/src/core/commands/debug.ts @@ -28,7 +28,8 @@ export default () => { if (ephemeral?.value) { messageUtil.sendBotMessage(ctx.channel.id, content); } else { - messageUtil.sendMessage(ctx.channel.id, { content }); + const fixNonce = Date.now().toString(); + messageUtil.sendMessage(ctx.channel.id, { content }, void 0, {nonce:fixNonce}); } } }; diff --git a/src/core/commands/plugins.ts b/src/core/commands/plugins.ts index b4ba1d8..8933713 100644 --- a/src/core/commands/plugins.ts +++ b/src/core/commands/plugins.ts @@ -36,7 +36,8 @@ export default () => { if (ephemeral?.value) { messageUtil.sendBotMessage(ctx.channel.id, content); } else { - messageUtil.sendMessage(ctx.channel.id, { content }); + const fixNonce = Date.now().toString(); + messageUtil.sendMessage(ctx.channel.id, { content }, void 0, {nonce:fixNonce}); } } };