/**
 * Popout action module.
 * Contains functions/data that perform generic popout-related actions.
 * @namespace discord.popout.action
 * @module discord.popout.action
 * @memberof discord.popout
 */
require('fs')
  .readdirSync(__dirname)
  .filter(file => file !== 'index.js')
  .forEach(filename => {
    const moduleName = filename.split('.')[0];
    exports[moduleName] = require(`${__dirname}/${filename}`);
  });
