This commit is contained in:
thororen1234 2026-01-23 21:06:44 -05:00
parent c255d674e5
commit 1b40ff59fc
No known key found for this signature in database
2 changed files with 1 additions and 9 deletions

View file

@ -128,7 +128,7 @@ export default definePlugin({
find: "#{intl::GUEST_NAME_SUFFIX})]",
replacement: [
{
match: /#{intl::GUEST_NAME_SUFFIX}.{0,50}?"".{0,50}\](?=\}\))(?<=guildId:(\i),.{0,50}?user:(\i).+?)/,
match: /#{intl::GUEST_NAME_SUFFIX}.{0,50}?"".{0,100}\](?=\}\))(?<=guildId:(\i),.{0,50}?user:(\i).+?)/,
replace: "$&,style:$self.getColorStyle($2.id,$1),"
}
],

View file

@ -75,14 +75,6 @@ export default definePlugin({
replace: "$self.makeSubtext($1, $&)"
}
},
{
find: "#{intl::FRIEND_REQUEST_CANCEL}",
replacement: {
predicate: () => settings.store.showDates,
match: /(?<=children:\[)\(0,.{0,100}user:\i,hovered:\i.+?(?=,\(0)(?<=user:(\i).+?)/,
replace: (children, user) => `$self.WrapperDateComponent({user:${user},children:${children}})`
}
},
{
find: "#{intl::FRIEND_REQUEST_CANCEL}",
replacement: {