User:JJPMaster/Scripts/checkRedirectAutopatroller.js: Difference between revisions

Content deleted Content added
properly awaiting (via CAE)
correct the method (via CAE)
Line 18:
async function onList(username) {
var list = await getFullList();
return list.includesmatch(new RegExp(`{{[Uu]ser2|${username}}}`));
}