Skip to content
Snippets Groups Projects
Commit ab71d860 authored by Levatax's avatar Levatax
Browse files

Loader

parent 508499b9
No related branches found
No related tags found
No related merge requests found
Pipeline #30 canceled
const reqEvent = (event) => require(`../events/${event}`);
module.exports = client => {
client.on('ready', () => reqEvent('ready')(client));
client.on('message', reqEvent('message'));
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment