© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Adding old messages to the cache and making them listen for events like messageReactionAdd - discord.js - Imagine an app
d-Iaa
discord.js - Imagine an app
•
13mo ago
•
6 replies
requizm
Adding old messages to the cache and making them listen for events like messageReactionAdd
Is this possible
? I tried to add manually
channel.messages.cache.set(id, message)
channel.messages.cache.set(id, message)
but it didn
't work
.
discord.js - Imagine an app
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
57,739
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
how to i listen for dm messages
d-Iaa
discord.js - Imagine an app / djs-questions
12mo ago
what permission is needed to listen for MessageReactionAdd in user's DMs?
d-Iaa
discord.js - Imagine an app / djs-questions
3y ago
Way to listen for MessageReactionRemove when the messages aren't cached
d-Iaa
discord.js - Imagine an app / djs-questions
2y ago
How would I listen to DM messages?
d-Iaa
discord.js - Imagine an app / djs-questions
4y ago