rename rule34test to drop
This commit is contained in:
@@ -67,10 +67,10 @@ for (const k of baseResponse) {
|
||||
hyperlinkarray.push(k.file_url);
|
||||
}
|
||||
|
||||
export async function r34test() {
|
||||
export async function drop() {
|
||||
if (hyperlinkarray.length === 0) {
|
||||
await refresh();
|
||||
return await r34test();
|
||||
return await drop();
|
||||
}
|
||||
return hyperlinkarray.pop()!;
|
||||
}
|
||||
@@ -78,7 +78,7 @@ export async function r34test() {
|
||||
export async function drop5() {
|
||||
let tmp = "";
|
||||
for (let i = 0; i < 5; i++) {
|
||||
tmp += await r34test() + "\n";
|
||||
tmp += await drop() + "\n";
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user