
[英]i am building a project on online file explorer, whenever i try to launch app to local host its says "du command not recognised"
[英]Hi, whenever I try logging someone executing a command, it just overwrites the command in the text file from before
var text = `\nUser | ID ${message.author.tag} | ${message.author.id} Command Arguments ${args[0]} ${args[1]}`
fs.writeFileSync('logs.txt', text), err => {
if (err) throw err;
console.log("The file has been saved!")
}
出于某种原因,它只是覆盖了日志。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.