e1027e06c1
* fix(plugins): Fixed BANger That was easy. * add(Devs): Added Myself to Devs * Update banger.ts Co-authored-by: Ven <vendicated@riseup.net>
23 lines
573 B
TypeScript
23 lines
573 B
TypeScript
import definePlugin from "../utils/types";
|
|
import { Devs } from "../utils/constants";
|
|
|
|
export default definePlugin({
|
|
name: "BANger",
|
|
description: "Replaces the GIF in the ban dialogue with a custom one.",
|
|
authors: [
|
|
{
|
|
name: "Xinto",
|
|
id: 423915768191647755n
|
|
},
|
|
Devs.Glitch
|
|
],
|
|
patches: [
|
|
{
|
|
find: "BAN_CONFIRM_TITLE.",
|
|
replacement: {
|
|
match: /src:\w\(\d+\)/g,
|
|
replace: 'src: "https://i.imgur.com/wp5q52C.mp4"'
|
|
}
|
|
}
|
|
],
|
|
});
|