mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 21:44:21 +00:00
Modifica al formato.
This commit is contained in:
parent
32f68ffdb6
commit
0e6faf7adb
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -677,7 +677,7 @@ while True:
|
|||
print("@" + username + ": /diario ")
|
||||
cmd = text.split(" ", 1)
|
||||
d = filemanager.readfile("diario.txt")
|
||||
d += str(time.time()) + " | " + cmd[1] + "\n"
|
||||
d += "`" + str(int(time.time())) + "` | " + cmd[1] + "\n"
|
||||
filemanager.writefile("diario.txt", d)
|
||||
telegram.sendmessage("Aggiunto al diario RYG.", sentin, source)
|
||||
elif text.startswith('/leggi'):
|
||||
|
|
Loading…
Reference in a new issue