Updated to work with the knifechanger

This commit is contained in:
ALittlePatate
2021-04-11 12:40:12 +02:00
committed by GitHub
parent 9d022aa3f9
commit b5fb1d6e8f
13 changed files with 2796 additions and 0 deletions

14
classes/last.py Normal file
View File

@@ -0,0 +1,14 @@
class last :
def read(self) :
with open("configs/last/last.txt", "r") as f :
for line in f :
last = line
return last
def write(self, name) :
with open("configs/last/last.txt", "a") as f :
f.seek(0)
f.truncate()
f.write(name)
f.close()