diff --git a/src/plugins/roleColorEverywhere/index.tsx b/src/plugins/roleColorEverywhere/index.tsx index 18cc03c67..29111da5b 100644 --- a/src/plugins/roleColorEverywhere/index.tsx +++ b/src/plugins/roleColorEverywhere/index.tsx @@ -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)," } ],