This commit is contained in:
lolcat 2024-11-03 17:28:31 -05:00
parent 7f01482a6e
commit 33970454bb
1 changed files with 16 additions and 0 deletions

View File

@ -1219,6 +1219,21 @@ deek.on("message", async function(msg, user){
send(msg, fortunes[Math.floor(Math.random() * fortunes.length)]); send(msg, fortunes[Math.floor(Math.random() * fortunes.length)]);
break; break;
case "list":
if(mc_bridge_enabled === false){
send(msg, "Minecraft bridge is disabled");
break;
}
send(
msg,
">Players online on deekcraft:\n" +
(Object.keys(bot.players).filter(player => bot.players[player].ping !== undefined))
.join("\n")
);
break;
case "help": case "help":
case "h": case "h":
send( send(
@ -1235,6 +1250,7 @@ deek.on("message", async function(msg, user){
".roll/.r => Because deekchat was too slow\n" + ".roll/.r => Because deekchat was too slow\n" +
".mumble/.m <[optional]ip:port> => check if lolcat died\n" + ".mumble/.m <[optional]ip:port> => check if lolcat died\n" +
".prop => check if the sun has exploded or smth\n" + ".prop => check if the sun has exploded or smth\n" +
".list => players online on deekcraft\n" +
".ping => spam deekchat" ".ping => spam deekchat"
); );
break; break;