// if (!userId) return; // // @todo Use Discord module for this after it's set up. // getModule('getUser').getUser(userId) // .then(() => getModule('dispatch').wait( // () => getModule('dispatch').dispatch({ type: 'USER_PROFILE_MODAL_OPEN', userId }))) // .catch(() => vizality.api.notifications.sendToast({ // header: 'User Not Found', // type: 'User Not Found', // content: 'That user was unable to be located.', // icon: 'PersonRemove' // }));