channel.send is returning an error
is channel.send deprecated?
7 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.no, why do you think it is
well, when i use it, it says its undefined
the channel is undefined
so I suggest you define it properly
ok
how did you define
channel
?const auditchannel = client.channels.cache.get('id here')
channel.send is actually auditchannel.send
hmm
ok