set volume to 25% by default for now before v2 woomy is released
This commit is contained in:
		
							parent
							
								
									0662be72d1
								
							
						
					
					
						commit
						57ad4914f8
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -280,6 +280,8 @@ module.exports = client => {
 | 
			
		|||
          {
 | 
			
		||||
              let dispatcher = client.music.getGuild(message.guild.id).dispatcher = connection.play(await ytdl("https://www.youtube.com/watch?v=" + id, {highWaterMark: 1024 * 1024 * 32}), {type: 'opus'});
 | 
			
		||||
 | 
			
		||||
              dispatcher.setVolume(0.25)
 | 
			
		||||
            
 | 
			
		||||
              dispatcher.on('finish', (a, b) =>
 | 
			
		||||
              {
 | 
			
		||||
                  end(a == "silent");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue