From 9aed4d275ff49731c6fae732d184de44b926d8c4 Mon Sep 17 00:00:00 2001 From: Xinto <48173186+X1nto@users.noreply.github.com> Date: Sun, 4 Sep 2022 02:21:35 +0400 Subject: [PATCH] add BANger (#8) --- src/plugins/banger.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/plugins/banger.ts diff --git a/src/plugins/banger.ts b/src/plugins/banger.ts new file mode 100644 index 000000000..be2fb3b95 --- /dev/null +++ b/src/plugins/banger.ts @@ -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"' + } + } + ], +}) \ No newline at end of file