Browse Source

Merge branch 'master' of ssh://vvvvvvaria.org:12345/varia/bots

master
manetta 11 months ago
parent
commit
00805bc7e7
  1. 2
      LogBot/logbot.py

2
LogBot/logbot.py

@ -8,8 +8,6 @@ db = 'storage.json'
def readdb():
storage = open(db, 'r').read()
messages = json.loads(storage)
lastid = sorted(list(messages.keys()))
nextid = str(int(lastid[-1])+1)
return messages
def writedb(message):

Loading…
Cancel
Save