fix
This commit is contained in:
parent
c255d674e5
commit
1b40ff59fc
2 changed files with 1 additions and 9 deletions
|
|
@ -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),"
|
||||
}
|
||||
],
|
||||
|
|
|
|||
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue