catatsrophe

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

View file

@ -61,7 +61,7 @@ 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 = typed 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}`)
@ -114,8 +114,8 @@ function commenter() {
h += `<div class='commenter'> h += `<div class='commenter'>
<img src='https://uploads.scratch.mit.edu/get_image/user/${entry.author.id}_999x999.png' class='user' float='left'> <img src='https://uploads.scratch.mit.edu/get_image/user/${entry.author.id}_999x999.png' class='user' float='left'>
<div> <div>
<div><b><a href='/users/${entry.author.username}'>${entry.author.username}</a></b></div> <div><b><a href='https://scratch.mit.edu/users/${entry.author.username}'>${entry.author.username}</a></b></div>
<sub>In <a href='/studios/${entry.studioID}'>${entry.studio}</a></sub> <sub>In <a href='https://scratch.mit.edu/studios/${entry.studioID}'>${entry.studio}</a></sub>
<pre>${entry.content}</pre> <pre>${entry.content}</pre>
<sub>${entry.datetime_created}</sub> <sub>${entry.datetime_created}</sub>
</div> </div>