© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
How to get message by id - discord.js - Imagine an app
d-Iaa
discord.js - Imagine an app
•
4y ago
•
20 replies
RichtigJoJo
How to get message by id
for
(let channel of interaction
.guild
.channels
.cache
) await console
.log
(channel
[1
]
.messages
.fetch
(messageId
)
)
does not works
discord.js - Imagine an app
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
57,693
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Get message by id without knowing channel
d-Iaa
discord.js - Imagine an app / djs-questions
2y ago
Get Original message or interaction by id
d-Iaa
discord.js - Imagine an app / djs-questions
3y ago