@od
You will need to built a bot with read messages permissions or admin permissions, then, the bot needs to be added to the channel if it’s not added automatically and then, on the bot you can add a messageCreate listener and then, you will be able to receive every message on the channels where the bot was added.