even more

This commit is contained in:
Nuckyz 2024-11-03 13:49:22 -03:00
parent f213045338
commit aef8a1a8b7
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
8 changed files with 9 additions and 9 deletions

View file

@ -32,7 +32,7 @@ export default definePlugin({
}
},
{
find: "#{intl::SERVERS}),children",
find: '#{intl::SERVERS}"]),children',
replacement: {
match: /(?<=#{intl::SERVERS}\),children:)\i\.map\(\i\)/,
replace: "Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.In).concat($&)"

View file

@ -67,7 +67,7 @@ export default definePlugin({
patches: [
{
find: "#{intl:;ERRORS_UNEXPECTED_CRASH}",
find: "#{intl::ERRORS_UNEXPECTED_CRASH}",
replacement: {
match: /this\.setState\((.+?)\)/,
replace: "$self.handleCrash(this,$1);"

View file

@ -27,7 +27,7 @@ export default definePlugin({
authors: [Devs.Nuckyz],
patches: [
{
find: "#{intl::BOT_CALL_IDLE_DISCONNECT}",
find: "#{intl::BOT_CALL_IDLE_DISCONNECT_2}",
replacement: {
match: /,?(?=\i\(this,"idleTimeout",new \i\.\i\))/,
replace: ";return;"

View file

@ -170,7 +170,7 @@ export default definePlugin({
patches: [
{
find: ".VIEW_ALL_ROLES,",
find: "#{intl::VIEW_ALL_ROLES}",
replacement: {
match: /\.expandButton,.+?null,/,
replace: "$&$self.ViewPermissionsButton(arguments[0]),"

View file

@ -67,7 +67,7 @@ export default definePlugin({
patches: [
{
find: "#[intl::REPLY_QUOTE_MESSAGE_BLOCKED}",
find: "#{intl::REPLY_QUOTE_MESSAGE_BLOCKED}",
replacement: {
match: /\.onClickReply,.+?}\),(?=\i,\i,\i\])/,
replace: "$&$self.ReplyTimestamp(arguments[0]),"

View file

@ -149,7 +149,7 @@ export default definePlugin({
}
},
{
find: ".Messages.CHANNEL_TOOLTIP_DIRECTORY",
find: "#{intl::CHANNEL_TOOLTIP_DIRECTORY}",
predicate: () => settings.store.showMode === ShowMode.LockIcon,
replacement: {
// Lock Icon

View file

@ -37,7 +37,7 @@ export default definePlugin({
authors: [Devs.newwares],
patches: [
{
find: "#{intl::REPLY_QUOTE_MESSAGE_NOT_LOADED",
find: "#{intl::REPLY_QUOTE_MESSAGE_NOT_LOADED}",
replacement: {
match: /#{intl::REPLY_QUOTE_MESSAGE_NOT_LOADED}\)/,
replace: "$&,onMouseEnter:()=>$self.fetchReply(arguments[0])"

View file

@ -202,14 +202,14 @@ export default definePlugin({
}
},
{
find: ".Messages.SEARCH_WITH_GOOGLE",
find: "#{intl::SEARCH_WITH_GOOGLE}",
replacement: {
match: /\i\.isPlatformEmbedded/,
replace: "true"
}
},
{
find: ".Messages.COPY,hint:",
find: "#{intl::COPY}),hint:",
replacement: [
{
match: /\i\.isPlatformEmbedded/,