From 2419c20844d1857bb07a41746f8f45f2e1d2633d Mon Sep 17 00:00:00 2001 From: kmmiio99o <164557248+kmmiio99o@users.noreply.github.com> Date: Sat, 27 Sep 2025 22:18:24 +0200 Subject: [PATCH] Update README and fix konochan command message sending - Update plugin list and URLs in README - Change konochan command to send messages using MessageActions --- README.md | 11 +++-------- plugins/Commands/src/commands/konochan.ts | 15 +++++++++++++-- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index fe9096b..792cfbe 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,10 @@ -> [!IMPORTANT] -> This plugins are no longer actively maintained by me. You may still file issues and open pull requests. - -# amsyarasyiq's [Vendetta](https://github.com/vendetta-mod/Vendetta) Plugins +# kmmiio99o's [Revenge](https://github.com/revenge-mod/Revenge-bundle)/[Kettu](https://codeberg.org/cocobo1/Kettu) Plugins Currently available plugins: -- HideGiftButton -- NoIdle -- MoreConfirm +- Commands - Last.fm # How to install? Paste a plugin URL into the Plugins page of Vendetta, following a basic format of: -`https://amsyarasyiq.github.io/letup/PLUGIN_NAME` +`https://kmmiio99o.github.io/vd-plugins/PLUGIN_NAME` diff --git a/plugins/Commands/src/commands/konochan.ts b/plugins/Commands/src/commands/konochan.ts index d3e3aaa..e534d1f 100644 --- a/plugins/Commands/src/commands/konochan.ts +++ b/plugins/Commands/src/commands/konochan.ts @@ -112,10 +112,21 @@ export const konoSendCommand = { const imageUrl = await fetchImage(isNSFW); if (!imageUrl) { - return { type: 4, data: { content: "No image found. Try again later." } }; + const fixNonce = Date.now().toString(); + MessageActions.sendMessage( + ctx.channel.id, + { content: "No image found. Try again later." }, + void 0, + { nonce: fixNonce }, + ); + return { type: 4 }; } - return { type: 4, data: { content: imageUrl } }; + const fixNonce = Date.now().toString(); + MessageActions.sendMessage(ctx.channel.id, { content: imageUrl }, void 0, { + nonce: fixNonce, + }); + return { type: 4 }; }, applicationId: "-1", inputType: 1,