forked from embee/woomy
		
	fixed music
This commit is contained in:
		
							parent
							
								
									6ee9122442
								
							
						
					
					
						commit
						98612a7784
					
				
					 3 changed files with 32 additions and 24 deletions
				
			
		| 
						 | 
				
			
			@ -24,11 +24,13 @@ exports.run = async (client, message) => {
 | 
			
		|||
  if (guild.queue.length < 1 || !guild.playing || !guild.dispatcher) return message.channel.send('Nothing is playing.')
 | 
			
		||||
  if (!message.member.voice.channel) return message.channel.send('You need to be in voice channel to use this command!')
 | 
			
		||||
 | 
			
		||||
  guild.dispatcher.end('silent')
 | 
			
		||||
 | 
			
		||||
  guild.queue = []
 | 
			
		||||
  guild.playing = false
 | 
			
		||||
  guild.paused = false
 | 
			
		||||
  guild.queue = []
 | 
			
		||||
 | 
			
		||||
  guild.dispatcher.end('silent')
 | 
			
		||||
  guild.dispatcher = null
 | 
			
		||||
  guild.skippers = []
 | 
			
		||||
 | 
			
		||||
  message.channel.send('Playback stopped!')
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue