let list = await fetch('https://haste.zneix.eu/raw/eletodahil').then((r) => r.text()); list = list.split('\n'); async function dump(data) { const formData = new FormData(); formData.append('file', new Blob([data], { type: 'text/plain' })); return await fetch(`https://i.nuthlus.xyz/upload?password=${ctx.params.pw}`, { method: 'post', body: formData }).then((r) => r.text()); } let res = await services.twitch.gql.banUser({ channelID: '866678289', bannedUserLogin: list, expiresIn: '10s', reason: 'testing 12345', }); res = ut.splitArray(res, 200); const outputs = []; for (const response of res) { outputs.push(await dump(JSON.stringify(response))); await new Promise((r) => setTimeout(r, 150)); } return await dump(outputs);