module.exports.properities = {
name:["123"]
}
module.exports.run = async (bot,message,member,args) => {
const asd = bot.channels.cache.get('678246128806002700')
asd.send(`1`)
}
C:\Users\Александр\Documents\GitHub\-1iqminebot\commands\123.js:9
asd.send(`1`)
^
TypeError: Cannot read properties of undefined (reading 'send')
at Object.module.exports.run (C:\Users\Александр\Documents\GitHub\-1iqminebot\commands\123.js:9:9)
at Client.<anonymous> (C:\Users\Александр\Documents\GitHub\-1iqminebot\index.js:21:17)
at Client.emit (node:events:390:28)
at MessageCreateAction.handle (C:\Users\Александр\Documents\GitHub\-1iqminebot\node_modules\discord.js\src\client\actions\MessageCreate.js:34:18)
at Object.module.exports [as MESSAGE_CREATE] (C:\Users\Александр\Documents\GitHub\-1iqminebot\node_modules\discord.js\src\client\websocket\handlers\MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (C:\Users\Александр\Documents\GitHub\-1iqminebot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:351:31)
at WebSocketShard.onPacket (C:\Users\Александр\Documents\GitHub\-1iqminebot\node_modules\discord.js\src\client\websocket\WebSocketShard.js:444:22)
at WebSocketShard.onMessage (C:\Users\Александр\Documents\GitHub\-1iqminebot\node_modules\discord.js\src\client\websocket\WebSocketShard.js:301:10)
at WebSocket.onMessage (C:\Users\Александр\Documents\GitHub\-1iqminebot\node_modules\ws\lib\event-target.js:199:18)
at WebSocket.emit (node:events:390:28)