mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-14 16:00:17 +00:00
19 lines
329 B
JavaScript
19 lines
329 B
JavaScript
|
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;
|
||
|
}
|
||
|
};
|