I have a messageDelete and MessageUpdate event but when the messages arent cached it gives an error, can i cache the message inside of the messageDelete/Update, I have tried
message.channels.cache.get(message.channel.id).message.cache.get(message.id)
but it still gives the error
Cannot read properties of undefined (reading 'cache')
with messages sent before the bot was started
<Channel>.messages.fetch(messageID)
message.channels.cache.get(message.channel.id).messages.cache.get(message.id)
You need to put s in messages