add small comment in bitbotctl about the ctl proto

This commit is contained in:
jesopo 2019-10-14 16:51:36 +01:00
parent defe9045c3
commit 920456ea17

View file

@ -46,6 +46,7 @@ sock.connect("%s.sock" % args.database)
def _send(s): def _send(s):
sock.send(("%s\n" % s).encode("utf8")) sock.send(("%s\n" % s).encode("utf8"))
# protocol: <msgid> <command> [arg [arg ..]]
_send("0 version 0") _send("0 version 0")
if args.command == "log": if args.command == "log":