#How do I get the channel object of a message on message?

12 messages · Page 1 of 1 (latest)

mint marsh
#

• 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.

somber cedar
#

We don’t support version 12 of djs

#

Update

hallow axleBOT
#

guide Additional Information: Updating from v12 to v13
read more

#

guide Additional Information: Updating from v13 to v14
read more

lone bay
#

The mentioned guide pages above tell you exactly what you have to change between the versions.
This doesn't take hours.

#

Besides, message.channel hasn't changed.

#

Log message.

neon goblet
#

Show the v13 code that has this issue

neon goblet
#

The current code will fail as soon as you don’t have a channel named test cached. Do you have GUILDS intent and not DIRECT_MESSAGES intent?

somber cedar
#

Console log message

neon goblet
#

Well, tbh, you omitted so much of your code that this is not really possible to say