mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-14 17:13:03 -04:00
and more
This commit is contained in:
parent
aef8a1a8b7
commit
d099aff45a
5 changed files with 5 additions and 4 deletions
|
@ -149,7 +149,7 @@ export default definePlugin({
|
||||||
patches: [{
|
patches: [{
|
||||||
find: "#{intl::BEGINNING_DM}",
|
find: "#{intl::BEGINNING_DM}",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /BEGINNING_DM\.format\(\{.+?\}\),(?=.{0,300}(\i)\.isMultiUserDM)/,
|
match: /#{intl::BEGINNING_DM}"],{.+?}\),(?=.{0,300}(\i)\.isMultiUserDM)/,
|
||||||
replace: "$& $self.renderContributorDmWarningCard({ channel: $1 }),"
|
replace: "$& $self.renderContributorDmWarningCard({ channel: $1 }),"
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
|
|
@ -128,7 +128,7 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: "#{intl::USER_SETTINGS_RESET_PROFILE_THEME}",
|
find: "#{intl::USER_SETTINGS_RESET_PROFILE_THEME}",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /RESET_PROFILE_THEME}\)(?<=color:(\i),.{0,500}?color:(\i),.{0,500}?)/,
|
match: /#{intl::USER_SETTINGS_RESET_PROFILE_THEME}\)}\)(?<=color:(\i),.{0,500}?color:(\i),.{0,500}?)/,
|
||||||
replace: "$&,$self.addCopy3y3Button({primary:$1,accent:$2})"
|
replace: "$&,$self.addCopy3y3Button({primary:$1,accent:$2})"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -232,7 +232,7 @@ export default definePlugin({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
find: "#{ìntl::USER_PROFILE_PRONOUNS}",
|
find: "#{intl::USER_PROFILE_PRONOUNS}",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(?=,hideBotTag:!0)/,
|
match: /(?=,hideBotTag:!0)/,
|
||||||
replace: ",moreTags_channelId:arguments[0].moreTags_channelId"
|
replace: ",moreTags_channelId:arguments[0].moreTags_channelId"
|
||||||
|
|
|
@ -39,7 +39,7 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
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])"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -22,6 +22,7 @@ export * from "./ChangeList";
|
||||||
export * from "./constants";
|
export * from "./constants";
|
||||||
export * from "./discord";
|
export * from "./discord";
|
||||||
export * from "./guards";
|
export * from "./guards";
|
||||||
|
export * from "./intlHash";
|
||||||
export * from "./lazy";
|
export * from "./lazy";
|
||||||
export * from "./lazyReact";
|
export * from "./lazyReact";
|
||||||
export * from "./localStorage";
|
export * from "./localStorage";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue