text: //Fetch all messages
  
  module.exports = {
    name: "am",
    description: "Display the ID of the user taged, you by default",
    aliases: [""],
    usage: "<>",
    cooldown: 1,
    execute(message, args) {
        for (i of message.guild.channels.cache){
              if (i[1].type == "GUILD_TEXT"){
                  console.log(i[1].name)
                  //.log(i[1].messages.cache)
                  for (const [key, value] of i[1].messages.cache) {
                      console.log(key + ' = ' + value)
                    }
              }
      
  
        }
      /*message.guild.channels.cache.forEach((channel) => {
        channel.messages.fetch().then((messages) => {
          messages.forEach((msg) => console.log(msg.content));
        });
      });*/
    }
  };
  