Add aliases to fart command

This commit is contained in:
Quentin ANIERE 2022-05-10 14:46:41 +02:00
parent e1f7bdd2b3
commit 84522cdeea

View File

@ -79,7 +79,7 @@ io.on("connection", (client) => {
messagesHistory.shift();
}
} else if(data.message === "/prout") {
} else if(data.message === "/prout" || data.message === "/fatma" || data.message === "/fart" || data.message === "/fartma") {
io.sockets.emit("fart");
log(`${client.denisFanNumber} : have farted`);