mirror of
				https://github.com/warengroup/eximiabots-radiox.git
				synced 2025-11-03 14:31:35 +00:00 
			
		
		
		
	Added statisticsUpdate to play.js when stream finished
This commit is contained in:
		@@ -98,6 +98,7 @@ function play(guild, client, url) {
 | 
			
		||||
		.play(url, { bitrate: "auto", volume: 1 })
 | 
			
		||||
		.on("finish", () => {
 | 
			
		||||
			console.log("Stream finished");
 | 
			
		||||
			client.funcs.statisticsUpdate(client, guild, radio);
 | 
			
		||||
			radio.voiceChannel.leave();
 | 
			
		||||
			client.radio.delete(guild.id);
 | 
			
		||||
			return;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user