RoleColorEverywhere: Debatably Fix Conflict

This commit is contained in:
thororen 2026-10-01 21:43:40 -04:00
parent c96a1cae9b
commit 5408a0224c
No known key found for this signature in database

View file

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