.
This commit is contained in:
parent
c10a5884a2
commit
605ecc59b6
|
@ -365,7 +365,7 @@ module.exports = bot => {
|
||||||
let playerlist = dom.window.document.querySelectorAll("ol > li");
|
let playerlist = dom.window.document.querySelectorAll("ol > li");
|
||||||
let player = null;
|
let player = null;
|
||||||
for(let p of playerlist) {
|
for(let p of playerlist) {
|
||||||
if (p.innerHTML.includes(`player=${args[0]}`)) {
|
if (p.innerHTML.includes(`player=${args[0]}">`)) {
|
||||||
prank = i;
|
prank = i;
|
||||||
player = p;
|
player = p;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user