1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 08:10:18 +00:00
musix-oss/struct/Client.js

19 lines
329 B
JavaScript
Raw Normal View History

2019-08-02 08:32:00 +00:00
const { Client, Collection } = require('discord.js');
module.exports = class extends Client {
constructor(config) {
super({
disableEveryone: true,
disabledEvents: ['TYPING_START']
});
this.commands = new Collection();
this.cooldowns = new Collection();
this.queue = new Map();
this.config = config;
}
};