MOVED TO https://github.com/vbajs/DaBaby
This commit is contained in:
parent
8d786997c9
commit
c8c2622ed5
5 changed files with 1 additions and 78 deletions
1
LICENSE
1
LICENSE
|
@ -1 +0,0 @@
|
|||
tbh do what you want and no warranty among us sex also i use arch btw
|
18
README.md
18
README.md
|
@ -1,17 +1 @@
|
|||
DaBaby Plugin
|
||||
|
||||
|
||||
Lesgooo
|
||||
|
||||
|
||||
|
||||
Credits where due:
|
||||
[MoltenCore](https://github.com/MoltenCoreDev) for [base](https://github.com/MoltenCoreDev/amogus) of the plugin
|
||||
|
||||
|
||||
[SomeAspy](https://github.com/SomeAspy) for le audio on click js [snippet](https://discord.com/channels/538759280057122817/755005784999329883/791508414643568661)
|
||||
|
||||
|
||||
|
||||
Discord support server for the plugin
|
||||
https://discord.gg/K3bgYX2C
|
||||
MOVED TO https://github.com/vbajs/DaBaby
|
||||
|
|
BIN
bin/icon.png
BIN
bin/icon.png
Binary file not shown.
Before Width: | Height: | Size: 123 KiB |
51
index.js
51
index.js
|
@ -1,51 +0,0 @@
|
|||
/*
|
||||
* You are now retarded.
|
||||
*
|
||||
* I am not responsible for bricked brains, dead usb sticks,
|
||||
* or you getting fired because your pc opened 2 seconds slower. Please
|
||||
* do some research if you have any concerns about features included in this software
|
||||
* before installing it! YOU are choosing to make these modifications, and if
|
||||
* you point the finger at me for messing up your pc, I will laugh at you.
|
||||
*/
|
||||
|
||||
import { Plugin } from '@vizality/entities';
|
||||
import { getModule } from "@vizality/webpack";
|
||||
import { patch, unpatch } from "@vizality/patcher"
|
||||
|
||||
|
||||
export default class amogus extends Plugin {
|
||||
start () {
|
||||
const Message = getModule(m => m.type && m.type.displayName === 'MessageContent')
|
||||
console.log(Message)
|
||||
patch('dababypng', Message, 'type', (args, res) => {
|
||||
const img = document.getElementsByTagName("img")
|
||||
for (let i = 0; i < img.length; i++) {
|
||||
const element = img[i];
|
||||
element.setAttribute("src", "https://cdn.discordapp.com/attachments/803993444917051404/825696810307289138/dababy.png")
|
||||
}
|
||||
const video = document.getElementsByTagName("video")
|
||||
for (let i = 0; i < video.length; i++) {
|
||||
const element = video[i];
|
||||
if (element.getAttribute("src") != "https://cdn.discordapp.com/attachments/803993444917051404/825697846435119124/Dababy_car.mp4") {
|
||||
element.setAttribute("src", "https://cdn.discordapp.com/attachments/803993444917051404/825697846435119124/Dababy_car.mp4")
|
||||
}
|
||||
}
|
||||
res.props.children[0] = "lesgooo"
|
||||
const username = document.getElementsByClassName("username-1A8OIy")
|
||||
for (let i = 0; i < username.length; i++) {
|
||||
const element = username[i];
|
||||
element.innerHTML = "DaBaby"
|
||||
}
|
||||
const click = document.addEventListener("click", function play() {
|
||||
var audio = new Audio('https://cdn.discordapp.com/attachments/803993444917051404/825720198627459092/lesgoo.mp3');
|
||||
audio.play();
|
||||
})
|
||||
return res;
|
||||
})
|
||||
}
|
||||
|
||||
stop () {
|
||||
unpatch('dababypng');
|
||||
window.location.reload()
|
||||
}
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
|
||||
{
|
||||
"name": "Dababy",
|
||||
"version": "3.0.1",
|
||||
"description": "Lesgooo",
|
||||
"author": "vbajs/zoom.zen",
|
||||
"license": "tbh idk",
|
||||
"icon": "./bin/icon.png"
|
||||
}
|
Reference in a new issue