deploy: 18ee67bbd52c9a2881df468f7811806f4305eb6f

This commit is contained in:
everestmcarthur 2026-08-01 16:06:41 +00:00
parent 7f94beede1
commit ca79a2c57e
6 changed files with 6 additions and 6 deletions

View file

@ -1 +1 @@
(function(a,i,l,p,s,d,f,y){"use strict";function g(o,c,t,r){try{return t()}catch(e){return r.error(`[${o}] Failed to apply the "${c}" patch, that surface will be skipped: ${e}`),function(){}}}function h(o,c,t){const r=Object.entries(t).map(function([e,n]){return g(o,e,n,c)});return function(){return r.forEach(function(e){return e()})}}function b(){const o=l.findByName("ThemedRolePill",!1);return o?p.after("default",o,function(c,t){try{if(!t?.props?.onPress)return;const r=s.findInReactTree(t,function(n){return n?.props?.roleColor}),e=s.findInReactTree(t,function(n){return n?.props?.style?.[0]?.borderRadius&&typeof n?.props?.style?.[1]?.backgroundColor=="string"&&n.props.style[1].backgroundColor.startsWith("#")})?.props?.style?.[1]?.backgroundColor??r?.props?.roleColor;if(!e)return;t.props.onLongPress=function(){d.clipboard.setString(e),y.showToast("Copied role color to clipboard",f.getAssetIDByName("ic_message_copy"))}}catch{}}):function(){}}let u=function(){};var m={onLoad:function(){u=h("CopyRoleColor",i.logger,{"role pill long-press":b})},onUnload:function(){return u()}};return a.default=m,Object.defineProperty(a,"__esModule",{value:!0}),a})({},vendetta,vendetta.metro,vendetta.patcher,vendetta.utils,vendetta.metro.common,vendetta.ui.assets,vendetta.ui.toasts);
(function(c,l,i,p,s,d,f,y){"use strict";function g(o,a,t,r){try{return t()}catch(e){return r.error(`[${o}] Failed to apply the "${a}" patch, that surface will be skipped: ${e}`),function(){}}}function h(o,a,t){const r=Object.entries(t).map(function([e,n]){return g(o,e,n,a)});return function(){return r.forEach(function(e){return e()})}}function b(){const o=i.findByName("RolePill",!1)??i.findByName("ThemedRolePill",!1);return o?p.after("default",o,function(a,t){try{if(!t?.props?.onPress)return;const r=s.findInReactTree(t,function(n){return n?.props?.roleColor}),e=s.findInReactTree(t,function(n){return n?.props?.style?.[0]?.borderRadius&&typeof n?.props?.style?.[1]?.backgroundColor=="string"&&n.props.style[1].backgroundColor.startsWith("#")})?.props?.style?.[1]?.backgroundColor??r?.props?.roleColor;if(!e)return;t.props.onLongPress=function(){d.clipboard.setString(e),y.showToast("Copied role color to clipboard",f.getAssetIDByName("ic_message_copy"))}}catch{}}):function(){}}let u=function(){};var m={onLoad:function(){u=h("CopyRoleColor",l.logger,{"role pill long-press":b})},onUnload:function(){return u()}};return c.default=m,Object.defineProperty(c,"__esModule",{value:!0}),c})({},vendetta,vendetta.metro,vendetta.patcher,vendetta.utils,vendetta.metro.common,vendetta.ui.assets,vendetta.ui.toasts);

View file

@ -1 +1 @@
{"name":"CopyRoleColor","description":"Long-press a role pill (member list, role list) to copy its color as hex.","authors":[{"name":"everestmcarthur"},{"name":"MSMA"}],"main":"index.js","hash":"e8448ac839287147e8c5b63198b2a40b8a85a2d7e9aab8f48acf93e6ed5c00c6"}
{"name":"CopyRoleColor","description":"Long-press a role pill (member list, role list) to copy its color as hex.","authors":[{"name":"everestmcarthur"},{"name":"MSMA"}],"main":"index.js","hash":"34828c5d47ad8a234fd22550bb2ec927132c5f8e800a4ec2a4ef48a01af9ca56"}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"name":"FakeProfileThemesAndEffects","description":"Profile theming and profile effects without Nitro, by hiding the color/effect data in your About Me using invisible zero-width characters.","authors":[{"name":"everestmcarthur"},{"name":"ryan"},{"name":"シグマ siguma"}],"main":"index.js","vendetta":{"icon":"ic_profile_24px"},"hash":"242d3a82b401819fdca86f6b90dbe21f9b3708a1117c2ae0ecdc8ebad119d0f1"}
{"name":"FakeProfileThemesAndEffects","description":"Profile theming and profile effects without Nitro, by hiding the color/effect data in your About Me using invisible zero-width characters.","authors":[{"name":"everestmcarthur"},{"name":"ryan"},{"name":"シグマ siguma"}],"main":"index.js","vendetta":{"icon":"ic_profile_24px"},"hash":"3710bf5a7c5a53fe220a27708c6c0fc65ea3297fd10589feb4e1ba2851d0067f"}

View file

@ -1 +1 @@
(function(c,w,l,v,d,n,b){"use strict";const E={he:"he/him",she:"she/her",they:"they/them",it:"it/its",any:"any",other:"other",ask:"ask",avoid:"avoid, use name"};function P(e){if(e?.length)return e.map(function(t){return E[t]??t}).join(" / ")}const i=new Map,a=new Map;let u=new Set,f;function h(e,t){a.get(e)?.forEach(function(r){return r(t)}),a.delete(e)}async function $(){const e=[...u];if(u=new Set,!!e.length)try{const t=await(await d.safeFetch(`https://pronoundb.org/api/v2/lookup?platform=discord&ids=${e.join(",")}`,{headers:{Accept:"application/json"}})).json();for(const r of e){const o=P(t?.[r]?.sets?.en);i.set(r,o??null),h(r,o)}}catch{for(const t of e)i.set(t,null),h(t,void 0)}}function T(e){return i.get(e)??void 0}function k(e,t){return i.has(e)?(t(i.get(e)??void 0),function(){}):(a.has(e)||a.set(e,new Set),a.get(e).add(t),u.add(e),clearTimeout(f),f=setTimeout($,150),function(){return a.get(e)?.delete(t)})}const{Text:S}=n.ReactNative,p=l.findByName("UserProfileSection",!1);function I({userId:e}){const[t,r]=n.React.useState(function(){return T(e)});return n.React.useEffect(function(){return k(e,r)},[e]),!t||!p?null:n.React.createElement(p,{title:"Pronouns"},n.React.createElement(S,{style:{fontSize:16}},t))}const{ScrollView:A,View:N}=n.ReactNative;function j({children:e}){return n.React.createElement(A,{style:{flex:1}},e,n.React.createElement(N,{style:{height:24}}))}const{View:F,Text:H}=n.ReactNative;function y({children:e,style:t}){return n.React.createElement(F,{style:[{marginHorizontal:16,marginVertical:8,padding:10,borderRadius:8,borderWidth:1,borderColor:"rgba(128,128,128,0.25)"},t]},n.React.createElement(H,{style:{fontSize:12.5,lineHeight:18,opacity:.75}},e))}const{TouchableOpacity:U,Text:V}=n.ReactNative;function z({label:e,onPress:t,disabled:r,style:o}){return n.React.createElement(U,{disabled:r,onPress:t,style:[{backgroundColor:"#5865F2",borderRadius:8,padding:10,alignItems:"center",opacity:r?.5:1},o]},n.React.createElement(V,{style:{color:"white",fontWeight:"600"}},e))}const{View:B,Linking:D}=n.ReactNative,{FormSection:x}=b.Forms,C="https://pronoundb.org/";function L(){return n.React.createElement(j,null,n.React.createElement(x,{title:"How this works"},n.React.createElement(y,null,"This plugin doesn't have anything to configure here - there's no API key or toggle, because pronouns aren't Discord data. They come from PronounDB, a separate service where people manually set their own pronouns and link the profile to their Discord account."),n.React.createElement(y,null,"That means a user's pronouns will only show up if THEY set them at pronoundb.org - not because of anything you enable here. If you want your own pronouns to show up for other people running this plugin, set them yourself at the link below."),n.React.createElement(B,{style:{paddingHorizontal:16,paddingTop:4}},n.React.createElement(z,{label:"Open pronoundb.org",onPress:function(){return D.openURL(C)}}))))}const g=l.find(function(e){return e?.type?.name==="UserProfile"});function M(){return g?v.after("type",g,function(e,t){try{const r=d.findInReactTree(t,function(s){return Array.isArray(s?.props?.children)&&s.props.children.some(function(m){return m?.type?.name==="UserProfileBio"})})?.props?.children;if(!Array.isArray(r))return;const o=r.find(function(s){return typeof s?.props?.displayProfile?.userId=="string"})?.props?.displayProfile?.userId;if(!o)return;r.unshift(React.createElement(I,{userId:o}))}catch{}}):function(){}}let R=function(){};var O={onLoad:function(){try{R=M()}catch(e){w.logger.error(`[PronounDB] Failed to apply the profile patch: ${e}`)}},onUnload:function(){return R()},settings:L};return c.default=O,Object.defineProperty(c,"__esModule",{value:!0}),c})({},vendetta,vendetta.metro,vendetta.patcher,vendetta.utils,vendetta.metro.common,vendetta.ui.components);
(function(c,b,u,v,d,n,E){"use strict";const P={he:"he/him",she:"she/her",they:"they/them",it:"it/its",any:"any",other:"other",ask:"ask",avoid:"avoid, use name"};function $(e){if(e?.length)return e.map(function(t){return P[t]??t}).join(" / ")}const i=new Map,o=new Map;let l=new Set,f;function h(e,t){o.get(e)?.forEach(function(r){return r(t)}),o.delete(e)}async function T(){const e=[...l];if(l=new Set,!!e.length)try{const t=await(await d.safeFetch(`https://pronoundb.org/api/v2/lookup?platform=discord&ids=${e.join(",")}`,{headers:{Accept:"application/json"}})).json();for(const r of e){const a=$(t?.[r]?.sets?.en);i.set(r,a??null),h(r,a)}}catch{for(const t of e)i.set(t,null),h(t,void 0)}}function k(e){return i.get(e)??void 0}function S(e,t){return i.has(e)?(t(i.get(e)??void 0),function(){}):(o.has(e)||o.set(e,new Set),o.get(e).add(t),l.add(e),clearTimeout(f),f=setTimeout(T,150),function(){return o.get(e)?.delete(t)})}const{Text:I}=n.ReactNative,p=u.findByName("UserProfileSection",!1);function A({userId:e}){const[t,r]=n.React.useState(function(){return k(e)});return n.React.useEffect(function(){return S(e,r)},[e]),!t||!p?null:n.React.createElement(p,{title:"Pronouns"},n.React.createElement(I,{style:{fontSize:16}},t))}const{ScrollView:U,View:N}=n.ReactNative;function j({children:e}){return n.React.createElement(U,{style:{flex:1}},e,n.React.createElement(N,{style:{height:24}}))}const{View:C,Text:F}=n.ReactNative;function y({children:e,style:t}){return n.React.createElement(C,{style:[{marginHorizontal:16,marginVertical:8,padding:10,borderRadius:8,borderWidth:1,borderColor:"rgba(128,128,128,0.25)"},t]},n.React.createElement(F,{style:{fontSize:12.5,lineHeight:18,opacity:.75}},e))}const{TouchableOpacity:H,Text:V}=n.ReactNative;function z({label:e,onPress:t,disabled:r,style:a}){return n.React.createElement(H,{disabled:r,onPress:t,style:[{backgroundColor:"#5865F2",borderRadius:8,padding:10,alignItems:"center",opacity:r?.5:1},a]},n.React.createElement(V,{style:{color:"white",fontWeight:"600"}},e))}const{View:B,Linking:D}=n.ReactNative,{FormSection:M}=E.Forms,m="https://pronoundb.org/";function x(){return n.React.createElement(j,null,n.React.createElement(M,{title:"How this works"},n.React.createElement(y,null,"This plugin doesn't have anything to configure here - there's no API key or toggle, because pronouns aren't Discord data. They come from PronounDB, a separate service where people manually set their own pronouns and link the profile to their Discord account."),n.React.createElement(y,null,"That means a user's pronouns will only show up if THEY set them at pronoundb.org - not because of anything you enable here. If you want your own pronouns to show up for other people running this plugin, set them yourself at the link below."),n.React.createElement(B,{style:{paddingHorizontal:16,paddingTop:4}},n.React.createElement(z,{label:"Open pronoundb.org",onPress:function(){return D.openURL(m)}}))))}const g=u.find(function(e){return e?.type?.name==="UserProfileContent"})??u.find(function(e){return e?.type?.name==="UserProfile"});function L(){return g?v.after("type",g,function(e,t){try{const r=d.findInReactTree(t,function(s){return Array.isArray(s?.props?.children)&&s.props.children.some(function(w){return w?.type?.name==="UserProfileAboutMeCard"||w?.type?.name==="UserProfileBio"})})?.props?.children;if(!Array.isArray(r))return;const a=r.find(function(s){return typeof s?.props?.displayProfile?.userId=="string"})?.props?.displayProfile?.userId;if(!a)return;r.unshift(React.createElement(A,{userId:a}))}catch{}}):function(){}}let R=function(){};var O={onLoad:function(){try{R=L()}catch(e){b.logger.error(`[PronounDB] Failed to apply the profile patch: ${e}`)}},onUnload:function(){return R()},settings:x};return c.default=O,Object.defineProperty(c,"__esModule",{value:!0}),c})({},vendetta,vendetta.metro,vendetta.patcher,vendetta.utils,vendetta.metro.common,vendetta.ui.components);

View file

@ -1 +1 @@
{"name":"PronounDB","description":"Shows a user's pronouns in their profile, if they've set them at pronoundb.org - see the plugin settings for details.","authors":[{"name":"everestmcarthur"}],"main":"index.js","vendetta":{"icon":"ic_group"},"hash":"d2636beadb89325f5c9f75306cb0f0e426f540bfadfac3b90bf0837e34d69d34"}
{"name":"PronounDB","description":"Shows a user's pronouns in their profile, if they've set them at pronoundb.org - see the plugin settings for details.","authors":[{"name":"everestmcarthur"}],"main":"index.js","vendetta":{"icon":"ic_group"},"hash":"e19735c18fb09158bb2a1433d9f370fadc971f3ac67e1378e2ca05c297bc2184"}