TypingTweaks: fix typo

This commit is contained in:
Vendicated 2025-07-01 23:30:29 +02:00
parent 4b0ff3ee5f
commit 93f28fe984
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -115,7 +115,7 @@ export default definePlugin({
// Adds the alternative formatting for several users typing // Adds the alternative formatting for several users typing
match: /(,{a:(\i),b:(\i),c:\i}\):\i\.length>3&&\(\i=)\i\.\i\.string\(\i\.\i#{intl::SEVERAL_USERS_TYPING}\)(?<=(\i)\.length.+?)/, match: /(,{a:(\i),b:(\i),c:\i}\):\i\.length>3&&\(\i=)\i\.\i\.string\(\i\.\i#{intl::SEVERAL_USERS_TYPING}\)(?<=(\i)\.length.+?)/,
replace: (_, rest, a, b, users) => replace: (_, rest, a, b, users) =>
`${rest}$self.buildSeveralUsers({ a: ${a}, b: ${b}, count: ${users}.length - 2, channel: arguments[0]?.channel?.guild_id })`, `${rest}$self.buildSeveralUsers({ a: ${a}, b: ${b}, count: ${users}.length - 2, guildId: arguments[0]?.channel?.guild_id })`,
predicate: () => settings.store.alternativeFormatting predicate: () => settings.store.alternativeFormatting
} }
] ]