check server command discord.js

JavaScript
// Checks How Many Channels is The Bot in Start //
client.on("message", (message) => {
    if (message.content === prefix + "channels") {
        if (message.author.bot) return;
        message.channel.send('I am Active in ' + '**`' + ` ${client.channels.cache.size} ` + '`**' + ' Channels');
        console.log('Someone Executed The Check Channel Size Command(s)')
    }
});
// Checks How Many Channels is The Bot in End //
Source

Also in JavaScript: