refactor: update plugins to use $self (#478)

Co-authored-by: Ven <vendicated@riseup.net>
This commit is contained in:
fawn 2023-02-10 21:41:49 +00:00 committed by GitHub
parent 1d995e58f5
commit d95be1acba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 26 additions and 26 deletions

View file

@ -68,7 +68,7 @@ export default definePlugin({
find: ".LOADING_DID_YOU_KNOW",
replacement: {
match: /\._loadingText=.+?random\(.+?;/s,
replace: "._loadingText=Vencord.Plugins.plugins.LoadingQuotes.quote;",
replace: "._loadingText=$self.quote;",
},
},
],