aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/corruptMp4s.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-11-09 21:17:21 +0100
committerVendicated <vendicated@riseup.net>2022-11-09 21:17:21 +0100
commit0bc894d065ff2c56cca08c7a962a89691aa1f0cf (patch)
tree223f6b358a6f2671faa4f130b9349f60e50b46b2 /src/plugins/corruptMp4s.ts
parent6f38c4b7fe56f730ec5586d7f2006b9580b28e70 (diff)
downloadVencord-0bc894d065ff2c56cca08c7a962a89691aa1f0cf.tar.gz
Vencord-0bc894d065ff2c56cca08c7a962a89691aa1f0cf.tar.bz2
Vencord-0bc894d065ff2c56cca08c7a962a89691aa1f0cf.zip
CorruptMp4s: Better default
Diffstat (limited to 'src/plugins/corruptMp4s.ts')
-rw-r--r--src/plugins/corruptMp4s.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/corruptMp4s.ts b/src/plugins/corruptMp4s.ts
index aefff67..0751d7d 100644
--- a/src/plugins/corruptMp4s.ts
+++ b/src/plugins/corruptMp4s.ts
@@ -69,7 +69,7 @@ export default definePlugin({
content: "Please upload a mp4 file"
});
- const corruption = findOption(args, "kind", "negative");
+ const corruption = findOption<string>(args, "kind", "infinite");
const buf = new Uint8Array(await video.arrayBuffer());
let found = false;