aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/banger.ts
diff options
context:
space:
mode:
authorGlitchyChan <46732589+GlitchChan@users.noreply.github.com>2022-10-04 19:38:38 +0000
committerGitHub <noreply@github.com>2022-10-04 21:38:38 +0200
commite1027e06c152f8b9668a3099db0f110e280991fd (patch)
tree8579171c4109ab79c8eb968c2e76363c8bcbf9cb /src/plugins/banger.ts
parentf1a31a61841adc74c6366eb2a77d74b81dd62b23 (diff)
downloadVencord-e1027e06c152f8b9668a3099db0f110e280991fd.tar.gz
Vencord-e1027e06c152f8b9668a3099db0f110e280991fd.tar.bz2
Vencord-e1027e06c152f8b9668a3099db0f110e280991fd.zip
fix(plugins): Fixed BANger (#41)
* fix(plugins): Fixed BANger That was easy. * add(Devs): Added Myself to Devs * Update banger.ts Co-authored-by: Ven <vendicated@riseup.net>
Diffstat (limited to 'src/plugins/banger.ts')
-rw-r--r--src/plugins/banger.ts14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/plugins/banger.ts b/src/plugins/banger.ts
index 2ca2921..fae7cf3 100644
--- a/src/plugins/banger.ts
+++ b/src/plugins/banger.ts
@@ -1,15 +1,19 @@
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
- }],
+ authors: [
+ {
+ name: "Xinto",
+ id: 423915768191647755n
+ },
+ Devs.Glitch
+ ],
patches: [
{
- find: "BanConfirm",
+ find: "BAN_CONFIRM_TITLE.",
replacement: {
match: /src:\w\(\d+\)/g,
replace: 'src: "https://i.imgur.com/wp5q52C.mp4"'