This commit is contained in:
amsyarasyiq 2025-07-24 14:28:37 +00:00
parent 736e54366f
commit d2484c93f6
8 changed files with 8 additions and 8 deletions

View file

@ -1 +1 @@
(function(o,i,f,y,m,p,s){"use strict";const g=i.findByProps("useStateFromStores"),d=i.findByStoreName("SpotifyStore"),u=i.findByProps("Sizes","Looks"),v=i.findByProps("play","sync");function S(e){const a=g.useStateFromStores([d],function(){return d.getActivity()?.party?.id}),t=e.isCurrentUser||e.activity?.party?.id===a;return React.createElement(s.View,{pointerEvents:t?"none":"auto"},React.createElement(u,{text:t?"You are already along for this ride":"Listen Along",size:u.Sizes.SMALL,style:{marginTop:12,backgroundColor:e.activityButtonColor,opacity:t?.5:1},renderIcon:function(){return React.createElement(s.Image,{style:{height:16,width:16,marginRight:8,tintColor:"white"},source:p.getAssetIDByName("ic_headphone")})},onPress:function(){return void v.sync(e.activity,e.user.id)}}))}let l;var h={onLoad(){const e=function(){return f.i18n.Messages.USER_ACTIVITY_HEADER_LISTENING?.intlMessage?.format({name:"Spotify"})};l=y.before("default",i.findByName("UserProfileSection",!1),function(a){let[t]=a;if(t.title!==e())return;const c=m.findInReactTree(t.children,function(n){return n?.style?.padding===0}),r=c?.children?.findIndex?.(function(n){return n?.type?.name==="Actions"});if(r&&r!==-1){const n=c.children[r];c.children[r]=React.createElement(React.Fragment,null,n,React.createElement(S,n.props))}})},onUnload(){l?.()}};return o.default=h,Object.defineProperty(o,"__esModule",{value:!0}),o})({},vendetta.metro,vendetta.metro.common,vendetta.patcher,vendetta.utils,vendetta.ui.assets,vendetta.metro.common.ReactNative); (function(a,i,l,f,y,m,c){"use strict";const p=i.findByProps("useStateFromStores"),s=i.findByStoreName("SpotifyStore"),d=i.findByProps("Sizes","Looks"),g=i.findByProps("play","sync");function v(e){const r=p.useStateFromStores([s],function(){return s.getActivity()?.party?.id}),t=e.isCurrentUser||e.activity?.party?.id===r;return React.createElement(c.View,{pointerEvents:t?"none":"auto"},React.createElement(d,{text:t?"You are already along for this ride":"Listen Along",size:d.Sizes.SMALL,style:{marginTop:12,backgroundColor:e.activityButtonColor,opacity:t?.5:1},renderIcon:function(){return React.createElement(c.Image,{style:{height:16,width:16,marginRight:8,tintColor:"white"},source:m.getAssetIDByName("ic_headphone")})},onPress:function(){return void g.sync(e.activity,e.user.id)}}))}let u;var S={onLoad(){const e=function(){return l.i18n.Messages.USER_ACTIVITY_HEADER_LISTENING?.intlMessage?.format({name:"Spotify"})};u=f.before("default",i.findByName("UserProfileSection",!1),function([r]){if(r.title!==e())return;const t=y.findInReactTree(r.children,function(n){return n?.style?.padding===0}),o=t?.children?.findIndex?.(function(n){return n?.type?.name==="Actions"});if(o&&o!==-1){const n=t.children[o];t.children[o]=React.createElement(React.Fragment,null,n,React.createElement(v,n.props))}})},onUnload(){u?.()}};return a.default=S,Object.defineProperty(a,"__esModule",{value:!0}),a})({},vendetta.metro,vendetta.metro.common,vendetta.patcher,vendetta.utils,vendetta.ui.assets,vendetta.metro.common.ReactNative);

View file

@ -1 +1 @@
{"authors":[{"name":"pylix","id":"492949202121261067"}],"main":"index.js","name":"BetterSpotifyIntegration","description":"Shrimply better integration with Spotify","vendetta":{},"hash":"2ab21d2e59c1d939684c334b09778068721242b5f01c22f97f9028fded60937e"} {"authors":[{"name":"pylix","id":"492949202121261067"}],"main":"index.js","name":"BetterSpotifyIntegration","description":"Shrimply better integration with Spotify","vendetta":{},"hash":"17b87ab5ceb755b2574636d166d9315c859363d0cf9029dcca3f1aa14cf434dc"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"authors":[{"name":"pylix","id":"492949202121261067"}],"main":"index.js","name":"Last.fm","description":"Show off your last.fm status on your Discord profile.","vendetta":{"icon":"ic_stage_music"},"hash":"91dc771b84ace904093fcb77e62eedfbf2ee45d55a026858b493b06c1f9fef14"} {"authors":[{"name":"pylix","id":"492949202121261067"}],"main":"index.js","name":"Last.fm","description":"Show off your last.fm status on your Discord profile.","vendetta":{"icon":"ic_stage_music"},"hash":"9ee1221b9446f6bc9aa6109e81660eae7b99d633c8b69c9c1fdc1b5107c1e585"}

View file

@ -1 +1 @@
(function(u,b,f,c,e,m,o,v,R,i){"use strict";const h=f.findByStoreName("UserStore"),{FormInput:x,FormDivider:p,FormText:F,FormIcon:d,FormRow:E,FormSection:I,FormSwitchRow:B}=v.Forms,y=e.stylesheet.createThemedStyleSheet({avatar:{height:36,width:36,borderRadius:18},button:{marginRight:12}});function S(l){let{callback:n}=l;return e.React.createElement(i.TouchableOpacity,{onPress:n},e.React.createElement(F,{style:y.button},"ADD"))}function k(l){let{onFinish:n}=l;const[a,r]=R.useState(""),g=function(){!isNaN(parseInt(a))&&h.getUser(a)&&!t.exempted.includes(a)&&(t.exempted=[...t.exempted,a],r("")),n()};return e.React.createElement(E,{leading:e.React.createElement(d,{source:o.getAssetIDByName("ic_add_friend")}),label:e.React.createElement(x,{autoFocus:!0,title:"User ID",placeholder:"123456789012345678",value:a,keyboardType:"numeric",onChangeText:function(s){return r(s.replace(/[^0-9]/g,"").trim())},returnKeyType:"done"}),trailing:e.React.createElement(i.TouchableOpacity,{onPress:g},e.React.createElement(d,{source:o.getAssetIDByName("ic_add_24px")}))})}function w(){m.useProxy(t);const[l,n]=R.useState(!1),a=e.NavigationNative.useNavigation();return R.useEffect(function(){a.setOptions({headerRight:function(){return e.React.createElement(S,{callback:function(){return n(!0)}})}})},[]),e.React.createElement(i.ScrollView,null,e.React.createElement(B,{label:"Enable blacklist mode",subLabel:"If enabled, only users in the exempted list will be affected by the plugin.",leading:e.React.createElement(d,{source:o.getAssetIDByName("ic_block")}),value:t.isBlacklistMode,onValueChange:function(r){return t.isBlacklistMode=r}}),e.React.createElement(I,{title:"Exempted Users"},t.exempted?.length>0&&e.React.createElement(i.FlatList,{data:t.exempted,keyExtractor:function(r){return r},renderItem:function(r){let{item:g}=r;const s=h.getUser(g);if(!s)throw new Error("User not found/is not cached");return e.React.createElement(E,{label:s.username,leading:e.React.createElement(i.Image,{style:y.avatar,source:{uri:s.getAvatarURL()}}),trailing:e.React.createElement(i.TouchableOpacity,{onPress:function(){t.exempted=t.exempted.filter(function(D){return D!==g})}},e.React.createElement(d,{source:o.getAssetIDByName("Small"),disableColor:!0}))})},ItemSeparatorComponent:p}),l&&e.React.createElement(e.React.Fragment,null,e.React.createElement(p,null),e.React.createElement(k,{onFinish:function(){return n(!1)}}))))}c.storage.isBlacklistMode??=!1,c.storage.exempted??=[];const t=c.storage,T=f.findByProps("createPendingReply");var U={settings:w,onUnload:b.patcher.before("createPendingReply",T,function(l){let[n]=l;const a=c.storage.exempted.includes(n.message?.author?.id);n.shouldMention&&=c.storage.isBlacklistMode?!a:a})};return u.default=U,u.settings=t,Object.defineProperty(u,"__esModule",{value:!0}),u})({},vendetta,vendetta.metro,vendetta.plugin,vendetta.metro.common,vendetta.storage,vendetta.ui.assets,vendetta.ui.components,window.React,vendetta.metro.common.ReactNative); (function(s,y,R,c,e,b,u,m,g,l){"use strict";const f=R.findByStoreName("UserStore"),{FormInput:v,FormDivider:h,FormText:x,FormIcon:d,FormRow:p,FormSection:F,FormSwitchRow:I}=m.Forms,E=e.stylesheet.createThemedStyleSheet({avatar:{height:36,width:36,borderRadius:18},button:{marginRight:12}});function k({callback:n}){return e.React.createElement(l.TouchableOpacity,{onPress:n},e.React.createElement(x,{style:E.button},"ADD"))}function S({onFinish:n}){const[a,o]=g.useState(""),r=function(){!isNaN(parseInt(a))&&f.getUser(a)&&!t.exempted.includes(a)&&(t.exempted=[...t.exempted,a],o("")),n()};return e.React.createElement(p,{leading:e.React.createElement(d,{source:u.getAssetIDByName("ic_add_friend")}),label:e.React.createElement(v,{autoFocus:!0,title:"User ID",placeholder:"123456789012345678",value:a,keyboardType:"numeric",onChangeText:function(i){return o(i.replace(/[^0-9]/g,"").trim())},returnKeyType:"done"}),trailing:e.React.createElement(l.TouchableOpacity,{onPress:r},e.React.createElement(d,{source:u.getAssetIDByName("ic_add_24px")}))})}function w(){b.useProxy(t);const[n,a]=g.useState(!1),o=e.NavigationNative.useNavigation();return g.useEffect(function(){o.setOptions({headerRight:function(){return e.React.createElement(k,{callback:function(){return a(!0)}})}})},[]),e.React.createElement(l.ScrollView,null,e.React.createElement(I,{label:"Enable blacklist mode",subLabel:"If enabled, only users in the exempted list will be affected by the plugin.",leading:e.React.createElement(d,{source:u.getAssetIDByName("ic_block")}),value:t.isBlacklistMode,onValueChange:function(r){return t.isBlacklistMode=r}}),e.React.createElement(F,{title:"Exempted Users"},t.exempted?.length>0&&e.React.createElement(l.FlatList,{data:t.exempted,keyExtractor:function(r){return r},renderItem:function({item:r}){const i=f.getUser(r);if(!i)throw new Error("User not found/is not cached");return e.React.createElement(p,{label:i.username,leading:e.React.createElement(l.Image,{style:E.avatar,source:{uri:i.getAvatarURL()}}),trailing:e.React.createElement(l.TouchableOpacity,{onPress:function(){t.exempted=t.exempted.filter(function(U){return U!==r})}},e.React.createElement(d,{source:u.getAssetIDByName("Small"),disableColor:!0}))})},ItemSeparatorComponent:h}),n&&e.React.createElement(e.React.Fragment,null,e.React.createElement(h,null),e.React.createElement(S,{onFinish:function(){return a(!1)}}))))}c.storage.isBlacklistMode??=!1,c.storage.exempted??=[];const t=c.storage,B=R.findByProps("createPendingReply");var T={settings:w,onUnload:y.patcher.before("createPendingReply",B,function([n]){const a=c.storage.exempted.includes(n.message?.author?.id);n.shouldMention&&=c.storage.isBlacklistMode?!a:a})};return s.default=T,s.settings=t,Object.defineProperty(s,"__esModule",{value:!0}),s})({},vendetta,vendetta.metro,vendetta.plugin,vendetta.metro.common,vendetta.storage,vendetta.ui.assets,vendetta.ui.components,window.React,vendetta.metro.common.ReactNative);

View file

@ -1 +1 @@
{"authors":[{"name":"pylix","id":"492949202121261067"}],"main":"index.js","name":"NoAutoReplyMention","description":"Turns off auto mention when replying to someone.","vendetta":{"icon":"ic_notif_off"},"hash":"0636f19cce99dbb4b1bacc8577277ea4ed2c6e25fe165491975cdcd6dec92ba7"} {"authors":[{"name":"pylix","id":"492949202121261067"}],"main":"index.js","name":"NoAutoReplyMention","description":"Turns off auto mention when replying to someone.","vendetta":{"icon":"ic_notif_off"},"hash":"0d882ee8d7efd8a700489134d93dff5e71b086947f27f7903470342de1f21bd7"}

View file

@ -1 +1 @@
(function(t,e,n){"use strict";const o=e.patcher.before("dispatch",n.FluxDispatcher,function(c){let[{type:r}]=c;if(r==="IDLE")return[{type:"IDLE",idle:!1}]});return t.onUnload=o,t})({},vendetta,vendetta.metro.common); (function(t,e,n){"use strict";const o=e.patcher.before("dispatch",n.FluxDispatcher,function([{type:c}]){if(c==="IDLE")return[{type:"IDLE",idle:!1}]});return t.onUnload=o,t})({},vendetta,vendetta.metro.common);

View file

@ -1 +1 @@
{"authors":[{"name":"pylix","id":"492949202121261067"}],"main":"index.js","name":"NoIdle","description":"Prevent status from idling when Discord is in the background.","vendetta":{"icon":"StatusIdle"},"hash":"477734b6a288567c5ce4439ca1e1dec77b369106ab8ea4993db308bf2261a17c"} {"authors":[{"name":"pylix","id":"492949202121261067"}],"main":"index.js","name":"NoIdle","description":"Prevent status from idling when Discord is in the background.","vendetta":{"icon":"StatusIdle"},"hash":"586fb75d5825daaf8c82c8f82a3f949409442f4300d7d4a3453a422457fbe113"}