reply on discord code example
Example: discord message reply
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`);
}
});