Fixed sound volume and sysmsg path
This commit is contained in:
		@@ -43,7 +43,7 @@ module.exports = async (bot, api) => {
 | 
				
			|||||||
        const files = fs.readdirSync(process.env["VOICE_TMP_PATH"]);
 | 
					        const files = fs.readdirSync(process.env["VOICE_TMP_PATH"]);
 | 
				
			||||||
        const rnd = files[Math.floor(Math.random()*files.length)];
 | 
					        const rnd = files[Math.floor(Math.random()*files.length)];
 | 
				
			||||||
        console.log(rnd);
 | 
					        console.log(rnd);
 | 
				
			||||||
        api.queue.add(__dirname + "/../sysmsg.wav");
 | 
					        api.queue.add(__dirname + "/../../sysmsg.wav");
 | 
				
			||||||
        api.queue.add(process.env["VOICE_TMP_PATH"] + "/" + rnd);
 | 
					        api.queue.add(process.env["VOICE_TMP_PATH"] + "/" + rnd);
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								sysmsg.wav
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								sysmsg.wav
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user