aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/silentTyping.ts
blob: 9bba0ca952a9e8f613ea8c9eba3615fa92304200 (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"
        }
    }]
});