.
This commit is contained in:
parent
605ecc59b6
commit
b5bbce6bd7
|
@ -56,12 +56,6 @@ function sandbox(lang, code) {
|
||||||
"Program": "#!/bin/bash\r\n" + code,
|
"Program": "#!/bin/bash\r\n" + code,
|
||||||
"Input": "",
|
"Input": "",
|
||||||
"CompilerArgs": ""
|
"CompilerArgs": ""
|
||||||
},
|
|
||||||
neofetch: {
|
|
||||||
"LanguageChoice": "38",
|
|
||||||
"Program": fs.readFileSync(`${__dirname}/../../../../neofetch`, "utf8"),
|
|
||||||
"Input": "",
|
|
||||||
"CompilerArgs": ""
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -373,10 +373,7 @@ module.exports = bot => {
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
if(player !== null) {
|
if(player !== null) {
|
||||||
let tmp = player.innerHTML.match(/.*, the level (.*?) (.*?)\. Next level in (.*?)\./);
|
const [, plevel, pclass, puntil] = player.innerHTML.match(/.*, the level (.*?) (.*?)\. Next level in (.*?)\./);
|
||||||
let plevel = tmp[1]
|
|
||||||
, pclass = tmp[2]
|
|
||||||
, puntil = tmp[3]
|
|
||||||
e.reply(`([i]${prank} / ${playerlist.length}[/i]) [b]${args[0]}[/b], the [b]${pclass}[/b]: level: ${plevel}, next level in ${puntil}.`);
|
e.reply(`([i]${prank} / ${playerlist.length}[/i]) [b]${args[0]}[/b], the [b]${pclass}[/b]: level: ${plevel}, next level in ${puntil}.`);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user