aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/silentTyping.ts
blob: 56ef30d3b469b393f65a73e77d8eb79b45fa4753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import definePlugin from '../utils/types';
import { Devs } from '../utils/constants';

export default definePlugin({
    name: "SilentTyping",
    authors: [Devs.Ven],
    description: "Hide that you are typing",
    patches: [{
        find: "startTyping:",
        replacement: {
            match: /startTyping:.+?,stop/,
            replace: "startTyping:()=>{},stop"
        }
    }]
});