text: // Generated by MS2Porter
  const version = '1.0.3';
  
  const getCurrentNickname = () => (getNick.getNick(getGuildId.getGuildId(), user.id) || user.username);
  
  let interval, el, hoverEl, user, getNick, getGuildId;
  
  let hovering = false;
  
  const run = () => {
    if (hovering) return;
  
    el.textContent = getCurrentNickname();
  };
  
  const mouseEnter = () => {
    hovering = true;
    el.textContent = user.username;
  };
  
  const mouseLeave = () => {
    hovering = false;
    el.textContent = getCurrentNickname();
  };
  
  export default {
  goosemodHandlers: {
    onImport: async function () {
      interval = setInterval(run, 300);
  
      el = document.querySelector('[aria-label="User area"] .title-eS5yk3');
  
      hoverEl = el.parentElement.parentElement;
  
      hoverEl.addEventListener('mouseenter', mouseEnter);
      hoverEl.addEventListener('mouseleave', mouseLeave);
  
      user = goosemodScope.webpackModules.findByProps('getCurrentUser').getCurrentUser();
  
      getNick = goosemodScope.webpackModules.findByProps('getNick');
      getGuildId = goosemodScope.webpackModules.findByProps('getGuildId', 'getLastSelectedGuildId');
    },
  
    onLoadingFinished: async function () {
    },
  
    onRemove: async function () {
      clearInterval(interval);
  
      hoverEl.removeEventListener('mouseenter', mouseEnter);
      hoverEl.removeEventListener('mouseleave', mouseLeave);
    },
  
    logRegionColor: 'darkred',
  
  
  
  }
  };
  