fix(fakeNitro): add missing predicate for sticker bypass (#215)

This commit is contained in:
Nico 2022-11-15 09:34:53 +01:00 committed by GitHub
parent be088f9072
commit eabbf7d9bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -88,6 +88,7 @@ export default definePlugin({
},
{
find: "\"SENDABLE\"",
predicate: () => Settings.plugins.FakeNitro.enableStickerBypass === true,
replacement: {
match: /(\w+)\.available\?/,
replace: "true?"