aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/banger.ts
blob: 2ca2921edde0ed400739f2dd729bec6b561d98bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import definePlugin from "../utils/types";

export default definePlugin({
    name: "BANger",
    description: "Replaces the GIF in the ban dialogue with a custom one.",
    authors: [{
        name: "Xinto",
        id: 423915768191647755n
    }],
    patches: [
        {
            find: "BanConfirm",
            replacement: {
                match: /src:\w\(\d+\)/g,
                replace: 'src: "https://i.imgur.com/wp5q52C.mp4"'
            }
        }
    ],
});