add BANger (#8)
parent
1645913b7f
commit
9aed4d275f
@ -0,0 +1,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"'
|
||||
}
|
||||
}
|
||||
],
|
||||
})
|
Loading…
Reference in new issue