(known issue on v14.1.0) messageLink is not a function

Trying the "new" Message.url leads to getting this error.
TypeError: messageLink is not a function
at Message.get url [as url] (...\node_modules\discord.js\src\structures\Message.js:443:29)
TypeError: messageLink is not a function
at Message.get url [as url] (...\node_modules\discord.js\src\structures\Message.js:443:29)
It's thrown from https://github.com/discordjs/discord.js/blob/main/packages/discord.js/src/structures/Message.js#L443. Does this just mean that @discordjs/builders hasn't been updated yet? discord.js v14.1.0 Node v16.13.1
7 Replies
d.js docs
d.js docs2y ago
• 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.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Mozzy
Mozzy2y ago
Using Message.url to get the URL of the message Naturally also happens with Channel.url due to the change
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Mozzy
Mozzy2y ago
Okay, good to see
crawl
crawl2y ago
Is fixed now in 14.1.1
Mozzy
Mozzy2y ago
Thanks