Cannot read property 'content' of undefined

This is my code:
module.exports = (Discord, client, message) =>{

const prefix = '!';

if(!message.content.startsWith(prefix) || message.author.bot) return;

const args = message.content.slice(prefix.length).split(/ +/);

const cmd = args.shift().toLowerCase();

const command = client.commands.get(cmd);

if(command) command.execute(client, message, args, Discord);

}

This is my error: TypeError: Cannot read property ‘content’ of undefined
at module.exports (C:\Users\Administrator\Documents\alvsworld\events\guild\message.js:3:17)
at Client.emit (node:events:394:28)
at MessageCreateAction.handle (C:\Users\Administrator\Documents\alvsworld\node_modules\discord.js\src\client\actions\MessageCreate.js:31:14)
at Object.module.exports [as MESSAGE_CREATE] (C:\Users\Administrator\Documents\alvsworld\node_modules\discord.js\src\client\websocket\handlers\MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (C:\Users\Administrator\Documents\alvsworld\node_modules\discord.js\src\client\websocket\WebSocketManager.js:384:31)
at WebSocketShard.onPacket (C:\Users\Administrator\Documents\alvsworld\node_modules\discord.js\src\client\websocket\WebSocketShard.js:444:22)
at WebSocketShard.onMessage (C:\Users\Administrator\Documents\alvsworld\node_modules\discord.js\src\client\websocket\WebSocketShard.js:301:10)
at WebSocket.onMessage (C:\Users\Administrator\Documents\alvsworld\node_modules\ws\lib\event-target.js:132:16)
at WebSocket.emit (node:events:394:28)
at Receiver.receiverOnMessage (C:\Users\Administrator\Documents\alvsworld\node_modules\ws\lib\websocket.js:970:20)

Can someone pls help me ?