mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 21:33:35 -05:00
even more
This commit is contained in:
parent
f213045338
commit
aef8a1a8b7
8 changed files with 9 additions and 9 deletions
|
@ -32,7 +32,7 @@ export default definePlugin({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
find: "#{intl::SERVERS}),children",
|
find: '#{intl::SERVERS}"]),children',
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(?<=#{intl::SERVERS}\),children:)\i\.map\(\i\)/,
|
match: /(?<=#{intl::SERVERS}\),children:)\i\.map\(\i\)/,
|
||||||
replace: "Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.In).concat($&)"
|
replace: "Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.In).concat($&)"
|
||||||
|
|
|
@ -67,7 +67,7 @@ export default definePlugin({
|
||||||
|
|
||||||
patches: [
|
patches: [
|
||||||
{
|
{
|
||||||
find: "#{intl:;ERRORS_UNEXPECTED_CRASH}",
|
find: "#{intl::ERRORS_UNEXPECTED_CRASH}",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /this\.setState\((.+?)\)/,
|
match: /this\.setState\((.+?)\)/,
|
||||||
replace: "$self.handleCrash(this,$1);"
|
replace: "$self.handleCrash(this,$1);"
|
||||||
|
|
|
@ -27,7 +27,7 @@ export default definePlugin({
|
||||||
authors: [Devs.Nuckyz],
|
authors: [Devs.Nuckyz],
|
||||||
patches: [
|
patches: [
|
||||||
{
|
{
|
||||||
find: "#{intl::BOT_CALL_IDLE_DISCONNECT}",
|
find: "#{intl::BOT_CALL_IDLE_DISCONNECT_2}",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /,?(?=\i\(this,"idleTimeout",new \i\.\i\))/,
|
match: /,?(?=\i\(this,"idleTimeout",new \i\.\i\))/,
|
||||||
replace: ";return;"
|
replace: ";return;"
|
||||||
|
|
|
@ -170,7 +170,7 @@ export default definePlugin({
|
||||||
|
|
||||||
patches: [
|
patches: [
|
||||||
{
|
{
|
||||||
find: ".VIEW_ALL_ROLES,",
|
find: "#{intl::VIEW_ALL_ROLES}",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /\.expandButton,.+?null,/,
|
match: /\.expandButton,.+?null,/,
|
||||||
replace: "$&$self.ViewPermissionsButton(arguments[0]),"
|
replace: "$&$self.ViewPermissionsButton(arguments[0]),"
|
||||||
|
|
|
@ -67,7 +67,7 @@ export default definePlugin({
|
||||||
|
|
||||||
patches: [
|
patches: [
|
||||||
{
|
{
|
||||||
find: "#[intl::REPLY_QUOTE_MESSAGE_BLOCKED}",
|
find: "#{intl::REPLY_QUOTE_MESSAGE_BLOCKED}",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /\.onClickReply,.+?}\),(?=\i,\i,\i\])/,
|
match: /\.onClickReply,.+?}\),(?=\i,\i,\i\])/,
|
||||||
replace: "$&$self.ReplyTimestamp(arguments[0]),"
|
replace: "$&$self.ReplyTimestamp(arguments[0]),"
|
||||||
|
|
|
@ -149,7 +149,7 @@ export default definePlugin({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
find: ".Messages.CHANNEL_TOOLTIP_DIRECTORY",
|
find: "#{intl::CHANNEL_TOOLTIP_DIRECTORY}",
|
||||||
predicate: () => settings.store.showMode === ShowMode.LockIcon,
|
predicate: () => settings.store.showMode === ShowMode.LockIcon,
|
||||||
replacement: {
|
replacement: {
|
||||||
// Lock Icon
|
// Lock Icon
|
||||||
|
|
|
@ -37,7 +37,7 @@ export default definePlugin({
|
||||||
authors: [Devs.newwares],
|
authors: [Devs.newwares],
|
||||||
patches: [
|
patches: [
|
||||||
{
|
{
|
||||||
find: "#{intl::REPLY_QUOTE_MESSAGE_NOT_LOADED",
|
find: "#{intl::REPLY_QUOTE_MESSAGE_NOT_LOADED}",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /#{intl::REPLY_QUOTE_MESSAGE_NOT_LOADED}\)/,
|
match: /#{intl::REPLY_QUOTE_MESSAGE_NOT_LOADED}\)/,
|
||||||
replace: "$&,onMouseEnter:()=>$self.fetchReply(arguments[0])"
|
replace: "$&,onMouseEnter:()=>$self.fetchReply(arguments[0])"
|
||||||
|
|
|
@ -202,14 +202,14 @@ export default definePlugin({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
find: ".Messages.SEARCH_WITH_GOOGLE",
|
find: "#{intl::SEARCH_WITH_GOOGLE}",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /\i\.isPlatformEmbedded/,
|
match: /\i\.isPlatformEmbedded/,
|
||||||
replace: "true"
|
replace: "true"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
find: ".Messages.COPY,hint:",
|
find: "#{intl::COPY}),hint:",
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
match: /\i\.isPlatformEmbedded/,
|
match: /\i\.isPlatformEmbedded/,
|
||||||
|
|
Loading…
Reference in a new issue