This commit is contained in:
Nuckyz 2024-11-03 13:58:43 -03:00
parent aef8a1a8b7
commit d099aff45a
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
5 changed files with 5 additions and 4 deletions

View file

@ -149,7 +149,7 @@ export default definePlugin({
patches: [{
find: "#{intl::BEGINNING_DM}",
replacement: {
match: /BEGINNING_DM\.format\(\{.+?\}\),(?=.{0,300}(\i)\.isMultiUserDM)/,
match: /#{intl::BEGINNING_DM}"],{.+?}\),(?=.{0,300}(\i)\.isMultiUserDM)/,
replace: "$& $self.renderContributorDmWarningCard({ channel: $1 }),"
}
}],

View file

@ -128,7 +128,7 @@ export default definePlugin({
{
find: "#{intl::USER_SETTINGS_RESET_PROFILE_THEME}",
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})"
}
}

View file

@ -232,7 +232,7 @@ export default definePlugin({
}
},
{
find: "#{ìntl::USER_PROFILE_PRONOUNS}",
find: "#{intl::USER_PROFILE_PRONOUNS}",
replacement: {
match: /(?=,hideBotTag:!0)/,
replace: ",moreTags_channelId:arguments[0].moreTags_channelId"

View file

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

View file

@ -22,6 +22,7 @@ export * from "./ChangeList";
export * from "./constants";
export * from "./discord";
export * from "./guards";
export * from "./intlHash";
export * from "./lazy";
export * from "./lazyReact";
export * from "./localStorage";