1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +00:00

Update client.js

This commit is contained in:
MatteZ02 2020-02-06 21:55:44 +02:00
parent 300714774e
commit 3b931d4cae

View File

@ -63,7 +63,7 @@ module.exports = class extends Client {
require(`${events}msg`).execute(this, msg, Discord); require(`${events}msg`).execute(this, msg, Discord);
}); });
this.on('guildCreate', (guild) => { this.on('guildCreate', (guild) => {
require(`${events}msg`).execute(this, guild); require(`${events}guildCreate`).execute(this, guild);
}); });
this.on('voiceStateUpdate', (newMember) => { this.on('voiceStateUpdate', (newMember) => {
require(`${events}voiceStateUpdate`).execute(this, newMember); require(`${events}voiceStateUpdate`).execute(this, newMember);