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

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