aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/banger.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/plugins/banger.ts b/src/plugins/banger.ts
new file mode 100644
index 0000000..be2fb3b
--- /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