aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/noF1.ts
diff options
context:
space:
mode:
authorCynthia Foxwell <gamers@riseup.net>2022-10-11 13:54:52 -0600
committerGitHub <noreply@github.com>2022-10-11 21:54:52 +0200
commit6afd959530c93b0fcea6520972adac142323b5c4 (patch)
tree5965893f88386dddb18b56cb72792e25f3e4f58c /src/plugins/noF1.ts
parent86eacea74d754f67e660f3ea7fd988a2444ea3cf (diff)
downloadVencord-6afd959530c93b0fcea6520972adac142323b5c4.tar.gz
Vencord-6afd959530c93b0fcea6520972adac142323b5c4.tar.bz2
Vencord-6afd959530c93b0fcea6520972adac142323b5c4.zip
feat(plugin): No F1 (#88)
Diffstat (limited to 'src/plugins/noF1.ts')
-rw-r--r--src/plugins/noF1.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/plugins/noF1.ts b/src/plugins/noF1.ts
new file mode 100644
index 0000000..e2f0462
--- /dev/null
+++ b/src/plugins/noF1.ts
@@ -0,0 +1,17 @@
+import definePlugin from "../utils/types";
+import { Devs } from "../utils/constants";
+
+export default definePlugin({
+ name: "No F1",
+ description: "Disables F1 help bind.",
+ authors: [Devs.Cyn],
+ patches: [
+ {
+ find: ',"f1"],comboKeysBindGlobal:',
+ replacement: {
+ match: ',"f1"],comboKeysBindGlobal:',
+ replace: "],comboKeysBindGlobal:",
+ },
+ },
+ ],
+});