This commit is contained in:
amsyarasyiq 2023-02-12 16:32:23 +00:00
commit cd506c133e
6 changed files with 31 additions and 0 deletions

16
404.md Normal file
View file

@ -0,0 +1,16 @@
---
permalink: /404.html
---
> **Note:** You accessed a link that returned a 404, probably by clicking one of the plugin links. You're supposed to copy the link address and add it into Vendetta.
# amsyarasyiq's [Vendetta](https://github.com/vendetta-mod/Vendetta) Plugins
Currently available plugins:
- HideGiftButton
- NoIdle
- MoreConfirm
# 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`

1
HideGiftButton/index.js Normal file
View file

@ -0,0 +1 @@
(function(t,n,i){"use strict";let o;const e=i.findByDisplayName("ChatInput");var d={onLoad:()=>{n.logger.log("Starting HideGiftButton..."),o=e.defaultProps.hideGiftButton,e.defaultProps.hideGiftButton=!0},onUnload:()=>{n.logger.log("Unloading HideGiftButton.."),e.defaultProps.hideGiftButton=o}};return t.default=d,Object.defineProperty(t,"__esModule",{value:!0}),t})({},vendetta,vendetta.metro);

1
Last.fm/index.js Normal file

File diff suppressed because one or more lines are too long

1
MoreConfirm/index.js Normal file
View file

@ -0,0 +1 @@
(function(r,o,t){"use strict";const i=t.findByProps("show","confirm","close"),s=t.findByProps("handleStartCall");var d={onLoad:()=>{o.logger.log("MoreConfirm: patching calls..."),o.patcher.instead("handleStartCall",s,(a,u)=>{const[{rawRecipients:[{username:n,discriminator:l},c]},f]=a,e=f?"video call":"call";i.show({title:c?`MoreConfirm: Start a group ${e}?`:`MoreConfirm: Start a ${e} with ${n}#${l}?`,body:c?"Are you sure you want to start the group call?":`Are you sure you want to ${e} ${n}#${l}?`,confirmText:"Yes",cancelText:"Cancel",confirmColor:"brand",onConfirm:()=>{try{u(...a)}catch(h){o.logger.error("Failed to start call",h)}}})})}};return r.default=d,Object.defineProperty(r,"__esModule",{value:!0}),r})({},vendetta,vendetta.metro);

1
NoIdle/index.js Normal file
View file

@ -0,0 +1 @@
(function(e,t,l){"use strict";let o;var r={onLoad:()=>{t.logger.log("Starting NoIdle..."),o=t.patcher.before("dispatch",l.FluxDispatcher,([{type:n}])=>{if(n==="IDLE")return[{type:"IDLE",idle:!1}]})},onUnload:()=>{t.logger.log("Disabling NoIdle.."),o?.()}};return e.default=r,Object.defineProperty(e,"__esModule",{value:!0}),e})({},vendetta,vendetta.metro.common);

11
README.md Normal file
View file

@ -0,0 +1,11 @@
# amsyarasyiq's [Vendetta](https://github.com/vendetta-mod/Vendetta) Plugins
Currently available plugins:
- HideGiftButton
- NoIdle
- MoreConfirm
# 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`