aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNico <nico@d3sox.me>2022-11-15 09:34:53 +0100
committerGitHub <noreply@github.com>2022-11-15 09:34:53 +0100
commiteabbf7d9bd9c2d011056918d8e23c5938c8d4f9b (patch)
tree5e46f6a8684e91f0766f3765d032712acd42d788 /src
parentbe088f907216aca4cf89a0dd6aba3bcc20684cca (diff)
downloadVencord-eabbf7d9bd9c2d011056918d8e23c5938c8d4f9b.tar.gz
Vencord-eabbf7d9bd9c2d011056918d8e23c5938c8d4f9b.tar.bz2
Vencord-eabbf7d9bd9c2d011056918d8e23c5938c8d4f9b.zip
fix(fakeNitro): add missing predicate for sticker bypass (#215)
Diffstat (limited to 'src')
-rw-r--r--src/plugins/fakeNitro.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/fakeNitro.ts b/src/plugins/fakeNitro.ts
index e7ef401..3ec8dc5 100644
--- a/src/plugins/fakeNitro.ts
+++ b/src/plugins/fakeNitro.ts
@@ -88,6 +88,7 @@ export default definePlugin({
},
{
find: "\"SENDABLE\"",
+ predicate: () => Settings.plugins.FakeNitro.enableStickerBypass === true,
replacement: {
match: /(\w+)\.available\?/,
replace: "true?"