mirror of
				https://github.com/warengroup/eximiabots-radiox.git
				synced 2025-11-04 10:09:36 +00:00 
			
		
		
		
	Changing Dispatcher streamOptions in play.js
This commit is contained in:
		@@ -95,7 +95,7 @@ function play(guild, client, url) {
 | 
			
		||||
	const radio = client.radio.get(guild.id);
 | 
			
		||||
 | 
			
		||||
	const dispatcher = radio.connection
 | 
			
		||||
		.play(url, { bitrate: 1024, passes: 10, volume: 1, highWaterMark: 1 << 25 })
 | 
			
		||||
		.play(url, { bitrate: "auto", volume: 1 })
 | 
			
		||||
		.on("finish", () => {
 | 
			
		||||
			radio.voiceChannel.leave();
 | 
			
		||||
			client.radio.delete(guild.id);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user