Update README and fix konochan command message sending

- Update plugin list and URLs in README - Change konochan command to
send messages using MessageActions
This commit is contained in:
kmmiio99o 2025-09-27 22:18:24 +02:00
parent 138f11c30a
commit 2419c20844
2 changed files with 16 additions and 10 deletions

View file

@ -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`

View file

@ -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,