music: disable hack
This commit is contained in:
		
							parent
							
								
									6d1dc784af
								
							
						
					
					
						commit
						2083b4ba71
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -1,8 +1,8 @@
 | 
			
		|||
const {Collection, VoiceConnection} = require("@projectdysnomia/dysnomia");
 | 
			
		||||
const {Collection} = require("@projectdysnomia/dysnomia");
 | 
			
		||||
 | 
			
		||||
const WebSocket = require("ws");
 | 
			
		||||
//const WebSocket = require("ws");
 | 
			
		||||
const ffprobe = require("node-ffprobe");
 | 
			
		||||
const {ProxyAgent} = require("proxy-agent");
 | 
			
		||||
//const {ProxyAgent} = require("proxy-agent");
 | 
			
		||||
 | 
			
		||||
const Command = require("#lib/command.js");
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -23,7 +23,7 @@ let SOUNDCLOUD_CLIENTID;
 | 
			
		|||
hf.voiceStorage = hf.voiceStorage || new Collection();
 | 
			
		||||
const voiceStorage = hf.voiceStorage;
 | 
			
		||||
 | 
			
		||||
if (hf.config.proxy) {
 | 
			
		||||
/*if (hf.config.proxy) {
 | 
			
		||||
  process.env.HTTP_PROXY = hf.config.proxy;
 | 
			
		||||
  const agent = new ProxyAgent({});
 | 
			
		||||
  process.env.HTTP_PROXY = null;
 | 
			
		||||
| 
						 | 
				
			
			@ -42,7 +42,7 @@ if (hf.config.proxy) {
 | 
			
		|||
    },
 | 
			
		||||
    configurable: true,
 | 
			
		||||
  });
 | 
			
		||||
}
 | 
			
		||||
}*/
 | 
			
		||||
 | 
			
		||||
// https://stackoverflow.com/a/12646864 § "Updating to ES6 / ECMAScript 2015"
 | 
			
		||||
function shuffleArray(array) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue