I am currently making a discord bot using node js, and part of what I am doing involves storing an incremented number that won't reset each time the bot is taken down.
(我目前正在使用node js制作一个不和谐的bot,而我正在做的部分工作包括存储一个递增的数字,该数字在每次关闭bot时都不会重置。)
I assume it would be down through reading/writing to a text file, but I'm not sure how to do this.(我认为通过读取/写入文本文件会导致故障,但是我不确定如何执行此操作。)
Any suggestions on how to do this?(有关如何执行此操作的任何建议?)
ask by boom translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…