I tried to make a stats command but it keeps giving me errors

error:
TypeError: Cannot read property 'cache' of undefined at Object.execute (/home/container/commands/stats.js:13:46) at Client.<anonymous> (/home/container/index.js:73:15) at Client.emit (events.js:310:20) at MessageCreateAction.handle (/home/container/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14) at Object.module.exports [as MESSAGE_CREATE] (/home/container/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32) at WebSocketManager.handlePacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketManager.js:386:31) at WebSocketShard.onPacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:436:22) at WebSocketShard.onMessage (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:293:10) at WebSocket.onMessage (/home/container/node_modules/ws/lib/event-target.js:125:16) at WebSocket.emit (events.js:310:20)

code:

`const { MessageEmbed } = require(‘discord.js’);

module.exports = {
name: “stats”,
aliases: [“stat”],
description: “not working yet”,

execute(message, client, args) {
let commands = message.client.commands.array();

let embed = new MessageEmbed()
.setTitle(Statistics)
.setColor(‘RED’)
.addField(‘Server Count’, ${client.guilds.cache.size}, true)
.addField(‘Users Count’, ${client.users.cache.size}, true)
.addField(‘Channels Count’, ${client.channels.cache.size}, true)
.setTimestamp();
message.channel.send(embed);

}
};`

me to
have that error but its cannot read .send for 1days ago its working properly but now it is not working in discord
bot

pls help moderators pls

You have to define it somewhere like in your main file