aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXinto <48173186+X1nto@users.noreply.github.com>2022-09-04 02:21:35 +0400
committerGitHub <noreply@github.com>2022-09-04 00:21:35 +0200
commit9aed4d275ff49731c6fae732d184de44b926d8c4 (patch)
tree02f3211f4ce6d841b842b80580c01ddaeced7d89 /src
parent1645913b7f5a23193f2bb4eb2f14b22e9ffff420 (diff)
downloadVencord-9aed4d275ff49731c6fae732d184de44b926d8c4.tar.gz
Vencord-9aed4d275ff49731c6fae732d184de44b926d8c4.tar.bz2
Vencord-9aed4d275ff49731c6fae732d184de44b926d8c4.zip
add BANger (#8)
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