1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
This commit is contained in:
Steffo 2016-09-24 21:51:31 +02:00
parent ad23f59a7c
commit 92590a3147

4
bot.py
View file

@ -489,8 +489,8 @@ def version():
# Visualizza la versione di Royal Bot
# Solo per UNIX...?
print("@" + username + ": /version")
msg = subprocess.run("git describe")
telegram.sendmessage(msg, sentin, source)
gitmsg = subprocess.check_output("git describe")
telegram.sendmessage(gitmsg, sentin, source)
# Ciclo principale del bot