Scripts/MarkPowerUser.script

//

let recentChanges = new RecentChanges; recentChanges.rc_users .then( function ( users )	{		users.map( function ( c, i, a ) {			a[i] = new WikiaUser( c ); } );		users.forEach( function ( user ) {			user.rights .then( function ( rights )				{					if ( rights.includes( 'poweruser' ) )						console.log( user.username + " is a poweruser" );				}.bind( user ) ); } );	} )	.catch( function ( error )	{		console.log( error );	} ); //