Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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`);
    }
});
 
PREVIOUS NEXT
Tagged: #discord #message #reply
ADD COMMENT
Topic
Name
3+2 =