DaBaby-ification
This commit is contained in:
parent
75321559b9
commit
266691a3a9
BIN
amogus.png
BIN
amogus.png
Binary file not shown.
Before Width: | Height: | Size: 3.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 84 KiB |
14
index.js
14
index.js
|
@ -17,30 +17,30 @@ export default class amogus extends Plugin {
|
||||||
start () {
|
start () {
|
||||||
const Message = getModule(m => m.type && m.type.displayName === 'MessageContent')
|
const Message = getModule(m => m.type && m.type.displayName === 'MessageContent')
|
||||||
console.log(Message)
|
console.log(Message)
|
||||||
patch('amoguspng', Message, 'type', (args, res) => {
|
patch('dababypng', Message, 'type', (args, res) => {
|
||||||
const img = document.getElementsByTagName("img")
|
const img = document.getElementsByTagName("img")
|
||||||
for (let i = 0; i < img.length; i++) {
|
for (let i = 0; i < img.length; i++) {
|
||||||
const element = img[i];
|
const element = img[i];
|
||||||
element.setAttribute("src", "https://cdn.discordapp.com/attachments/735710639410118817/815652065749368883/amogus.png")
|
element.setAttribute("src", "https://cdn.discordapp.com/attachments/803993444917051404/825696810307289138/dababy.png")
|
||||||
}
|
}
|
||||||
const video = document.getElementsByTagName("video")
|
const video = document.getElementsByTagName("video")
|
||||||
for (let i = 0; i < video.length; i++) {
|
for (let i = 0; i < video.length; i++) {
|
||||||
const element = video[i];
|
const element = video[i];
|
||||||
if (element.getAttribute("src") != "https://cdn.discordapp.com/attachments/773508852247035915/812451604346830868/when_IMPORSTOR1.mp4") {
|
if (element.getAttribute("src") != "https://cdn.discordapp.com/attachments/803993444917051404/825697846435119124/Dababy_car.mp4") {
|
||||||
element.setAttribute("src", "https://cdn.discordapp.com/attachments/773508852247035915/812451604346830868/when_IMPORSTOR1.mp4")
|
element.setAttribute("src", "https://cdn.discordapp.com/attachments/803993444917051404/825697846435119124/Dababy_car.mp4")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
res.props.children[0] = "amogus"
|
res.props.children[0] = "lesgooo"
|
||||||
const username = document.getElementsByClassName("username-1A8OIy")
|
const username = document.getElementsByClassName("username-1A8OIy")
|
||||||
for (let i = 0; i < username.length; i++) {
|
for (let i = 0; i < username.length; i++) {
|
||||||
const element = username[i];
|
const element = username[i];
|
||||||
element.innerHTML = "amogus"
|
element.innerHTML = "DaBaby"
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
stop () {
|
stop () {
|
||||||
unpatch('amoguspng')
|
unpatch('dababypng')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "amogus",
|
"name": "Dababy",
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"description": "amogus",
|
"description": "Lesgooo",
|
||||||
"author": "MoltenCoreDev",
|
"author": "vbajs/zoom.zen",
|
||||||
"license": "mit"
|
"license": "mit"
|
||||||
}
|
}
|
Reference in New Issue