Odpowiedź na wiadomość niezgodną
client.on("message", (message) => {
if (message.content === "Server active") {
message.channel.send(`I am Active in ${client.guilds.cache.size} Servers`);
}
if (message.content === "Server size") {
message.channel.send(`I am Active in ${client.guilds.cache.size} Servers`);
}
if (message.content === "Server ammount") {
message.channel.send(`I am Active in ${client.guilds.cache.size} Servers`);
}
});
Undefined