text: 'use strict';
  const webhook = require("../helpers/webhooks");
  const config = require("../config.json");
  
  module.exports = {
      name: "messageUpdate",
  
      exec: (client, message,oldMessage) => {
          // const webhook2 = new webhook(config.webhook.id,config.webhook.token)
          // webhook2.send({
          //     content:`A message by ${message.author} (${message.author.id}) was updated.\nBefore: ${oldMessage.content}\nAfter: ${message.content}`
          // })
  
          console.log(`GUILD MESSAGE UPDATE => ${oldMessage.content} -> ${message.content}`)
      }
  }