Vencord/src/plugins/banger.ts

16 lines
415 B
TypeScript
Raw Normal View History

2022-09-03 18:21:35 -04:00
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"'
}
}
],
})