mirror of
https://github.com/musix-org/musix-oss
synced 2025-06-16 18:56:00 +00:00
Initial
This commit is contained in:
18
struct/Client.js
Normal file
18
struct/Client.js
Normal file
@ -0,0 +1,18 @@
|
||||
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;
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user