Vencord/src/plugins/banger.ts

24 lines
573 B
TypeScript
Raw Normal View History

2022-09-03 18:21:35 -04:00
import definePlugin from "../utils/types";
import { Devs } from "../utils/constants";
2022-09-03 18:21:35 -04:00
export default definePlugin({
name: "BANger",
description: "Replaces the GIF in the ban dialogue with a custom one.",
authors: [
{
name: "Xinto",
id: 423915768191647755n
},
Devs.Glitch
],
2022-09-03 18:21:35 -04:00
patches: [
{
find: "BAN_CONFIRM_TITLE.",
2022-09-03 18:21:35 -04:00
replacement: {
match: /src:\w\(\d+\)/g,
replace: 'src: "https://i.imgur.com/wp5q52C.mp4"'
}
}
],
2022-09-16 16:59:34 -04:00
});