aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/silentTyping.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-09-29 22:02:01 +0200
committerVendicated <vendicated@riseup.net>2022-09-29 22:02:01 +0200
commit3c2bbb698aaff59965bfeb217db86e628cc6cf90 (patch)
tree633fccde64914867fbef266f7d0b59bd8b08de86 /src/plugins/silentTyping.ts
parent86c4bb7f8c34003168ac5380a01401fcbeac4013 (diff)
downloadVencord-3c2bbb698aaff59965bfeb217db86e628cc6cf90.tar.gz
Vencord-3c2bbb698aaff59965bfeb217db86e628cc6cf90.tar.bz2
Vencord-3c2bbb698aaff59965bfeb217db86e628cc6cf90.zip
SilentTyping
Diffstat (limited to 'src/plugins/silentTyping.ts')
-rw-r--r--src/plugins/silentTyping.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/plugins/silentTyping.ts b/src/plugins/silentTyping.ts
new file mode 100644
index 0000000..df233a4
--- /dev/null
+++ b/src/plugins/silentTyping.ts
@@ -0,0 +1,14 @@
+import definePlugin from '../utils/types';
+
+export default definePlugin({
+ name: "SilentTyping",
+ author: "Vendicated",
+ description: "Hide that you are typing",
+ patches: [{
+ find: "startTyping:",
+ replacement: {
+ match: /startTyping:.+?,stop/,
+ replace: "startTyping:()=>{},stop"
+ }
+ }]
+});