diff --git a/client.js b/client.js index 9c90749..913faf5 100644 --- a/client.js +++ b/client.js @@ -25,10 +25,10 @@ const mc_options = { }; const name = "rena_chan"; -const password = "oh my fucking god"; -const irc_password = "stop it"; -const irc_rena_password = "get some help"; -const yt_token = "i want to fucking dieeeeeeee" +const password = "can"; +const irc_password = "you"; +const irc_rena_password = "please"; +const yt_token = "work" const irc_ip = "192.168.0.152"; const upload_folder = "/var/www/html/u/uploads/"; const mc_bridge_enabled = false; @@ -731,8 +731,10 @@ file_watch.on("add", async function(file_path){ } } - const data = await fs.readFileSync("/home/will/Desktop/4lul.0.jpg"); + const data = await fs.readFileSync(file_path); send(-1, "<" + username + "> [file]", data, ext); + + fs.unlink(file_path, function(err){}); }); /*