chore: add util scripts
This commit is contained in:
11
utils/get_last_uid.py
Normal file
11
utils/get_last_uid.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import json
|
||||
|
||||
|
||||
def main():
|
||||
with open("players.json", "r", encoding="utf-8") as f:
|
||||
d = json.load(f)
|
||||
print(d[-1]["userId"])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user