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>
This commit is contained in:
parent
f1a31a6184
commit
e1027e06c1
@ -1,15 +1,19 @@
|
|||||||
import definePlugin from "../utils/types";
|
import definePlugin from "../utils/types";
|
||||||
|
import { Devs } from "../utils/constants";
|
||||||
|
|
||||||
export default definePlugin({
|
export default definePlugin({
|
||||||
name: "BANger",
|
name: "BANger",
|
||||||
description: "Replaces the GIF in the ban dialogue with a custom one.",
|
description: "Replaces the GIF in the ban dialogue with a custom one.",
|
||||||
authors: [{
|
authors: [
|
||||||
|
{
|
||||||
name: "Xinto",
|
name: "Xinto",
|
||||||
id: 423915768191647755n
|
id: 423915768191647755n
|
||||||
}],
|
},
|
||||||
|
Devs.Glitch
|
||||||
|
],
|
||||||
patches: [
|
patches: [
|
||||||
{
|
{
|
||||||
find: "BanConfirm",
|
find: "BAN_CONFIRM_TITLE.",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /src:\w\(\d+\)/g,
|
match: /src:\w\(\d+\)/g,
|
||||||
replace: 'src: "https://i.imgur.com/wp5q52C.mp4"'
|
replace: 'src: "https://i.imgur.com/wp5q52C.mp4"'
|
||||||
|
@ -1,12 +1,10 @@
|
|||||||
import definePlugin from "../utils/types";
|
import definePlugin from "../utils/types";
|
||||||
|
import {Devs} from "../utils/constants";
|
||||||
|
|
||||||
export default definePlugin({
|
export default definePlugin({
|
||||||
name: "MuteNewGuild",
|
name: "MuteNewGuild",
|
||||||
description: "Mutes newly joined guilds",
|
description: "Mutes newly joined guilds",
|
||||||
authors: [{
|
authors: [Devs.Glitch],
|
||||||
name:"Glitchy",
|
|
||||||
id: 269567451199569920n
|
|
||||||
}],
|
|
||||||
patches: [
|
patches: [
|
||||||
{
|
{
|
||||||
find: ",acceptInvite:function",
|
find: ",acceptInvite:function",
|
||||||
|
@ -30,5 +30,9 @@ export const Devs = Object.freeze({
|
|||||||
rushii: {
|
rushii: {
|
||||||
name: "rushii",
|
name: "rushii",
|
||||||
id: 295190422244950017n
|
id: 295190422244950017n
|
||||||
|
},
|
||||||
|
Glitch: {
|
||||||
|
name: "Glitchy",
|
||||||
|
id: 269567451199569920n
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user