mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-27 09:46:28 +00:00
Use more stable find value
This commit is contained in:
parent
de60c2f96a
commit
8909525b4d
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ export default definePlugin({
|
||||||
authors: [Devs.Grzesiek11],
|
authors: [Devs.Grzesiek11],
|
||||||
patches: [
|
patches: [
|
||||||
{
|
{
|
||||||
find: ".useCanSeeRemixBadge)",
|
find: "=\"SYSTEM_TAG\"",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /style:"username"===\i&&null!=\i\?{color:\i}:void 0/,
|
match: /style:"username"===\i&&null!=\i\?{color:\i}:void 0/,
|
||||||
replace: "style:{color:$self.calculateNameColor(BigInt(arguments[0].message.author.id))}"
|
replace: "style:{color:$self.calculateNameColor(BigInt(arguments[0].message.author.id))}"
|
||||||
|
|
Loading…
Reference in a new issue