mirror of
				https://github.com/musix-org/musix-oss
				synced 2025-10-25 21:13:07 +00:00 
			
		
		
		
	Update client.js
This commit is contained in:
		| @@ -65,8 +65,8 @@ module.exports = class extends Client { | |||||||
|         this.on('guildCreate', (guild) => { |         this.on('guildCreate', (guild) => { | ||||||
|             require(`${events}guildCreate`).execute(this, guild); |             require(`${events}guildCreate`).execute(this, guild); | ||||||
|         }); |         }); | ||||||
|         this.on('voiceStateUpdate', (newMember) => { |         this.on('voiceStateUpdate', (newState, oldState) => { | ||||||
|             require(`${events}voiceStateUpdate`).execute(this, newMember); |             require(`${events}voiceStateUpdate`).execute(this, newState, oldState); | ||||||
|         }); |         }); | ||||||
|         this.on('error', (error) => { |         this.on('error', (error) => { | ||||||
|             client.channels.fetch(client.config.debug_channel).send('Error: ' + error); |             client.channels.fetch(client.config.debug_channel).send('Error: ' + error); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 MatteZ02
					MatteZ02