uncatatsrophe

This commit is contained in:
biglyderv 2024-09-18 05:08:14 -04:00
parent 275f9a4816
commit af08df32b4
No known key found for this signature in database
GPG key ID: 33AC87E9ACE66954

View file

@ -61,12 +61,14 @@ async function main(type) {
.then(x => x.json())); .then(x => x.json()));
extraFetch.forEach(x => { extraFetch.forEach(x => {
x.studio = studios[typed].title; x.studio = studios[typed].title;
x.studioID = user;
}); });
} else if (typed == '#' && type == '#comment') { } else if (typed == '#' && type == '#comment') {
extraFetch = await (fetch(`https://hf.zenoverse.net/studio_comment/${user}`) extraFetch = await (fetch(`https://hf.zenoverse.net/studio_comment/${user}`)
.then(x => x.json())); .then(x => x.json()));
extraFetch.forEach(x => x.studio = studios[typed].title); extraFetch.forEach(x => {
x.studio = studios[typed].title;
x.studioID = user
});
} else if (typed == '@' && type == '#user') { } else if (typed == '@' && type == '#user') {
extraFetch = await (fetch(`https://hf.zenoverse.net/user/${user}`) extraFetch = await (fetch(`https://hf.zenoverse.net/user/${user}`)
.then(x => x.json())); .then(x => x.json()));