Timezones fix?

This commit is contained in:
thororen 2024-08-23 22:57:47 -04:00 committed by GitHub
parent 86be153564
commit 11b0ba0ee9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -148,13 +148,13 @@ export default definePlugin({
patches: [ patches: [
// stolen from ViewIcons // stolen from ViewIcons
...[".NITRO_BANNER,", "=!1,canUsePremiumCustomization:"].map(find => ({ {
find, find: 'backgroundColor:"COMPLETE"',
replacement: { replacement: {
match: /(?<=hasProfileEffect.+?)children:\[/, match: /(?<=hasProfileEffect.+?)children:\[/,
replace: "$&$self.renderProfileTimezone(arguments[0])," replace: "$&$self.renderProfileTimezone(arguments[0]),"
} }
})), },
{ {
find: '"Message Username"', find: '"Message Username"',
replacement: { replacement: {