summaryrefslogtreecommitdiff
path: root/node_modules/discord.js/src/client/websocket/handlers/index.js
blob: d69c105fddf93468e74cafcce4d9a33f9a2f22ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict';

const { WSEvents } = require('../../../util/Constants');

const handlers = {};

for (const name of Object.keys(WSEvents)) {
  try {
    handlers[name] = require(`./${name}.js`);
  } catch {} // eslint-disable-line no-empty
}

module.exports = handlers;