An easy way to do this is to use the event
message.js, what that event does is that every time a message gets send into a channel the bot can read, it receives a ping. You can do whatever you want with this. You can store the message, you can let the bot reply to it. But for you, the most useful thing would be to store it in an enmap. And let your
client.js check for a new update every 5/10/15 mins. Then, if something updated (a message got stored). Get that message in your
client.js and use it for whatever you want.