bit of logging
This commit is contained in:
父節點
f4829ade74
當前提交
375a8261ae
4
main.py
4
main.py
@ -37,7 +37,9 @@ if len(sys.argv) > 1:
|
||||
update_disc(client, {"type": "album", "id": "EJECT"})
|
||||
elif json_str == "PLAY":
|
||||
control_player(client, "PLAY")
|
||||
else:
|
||||
print(f"Can't process {json_str}")
|
||||
except Exception:
|
||||
print(f"Invalid JSON format: {e}")
|
||||
else:
|
||||
print("No JSON argument passed, running default control_player action.")
|
||||
print("No Command or Track Info Passed")
|
載入中…
x
新增問題並參考
Block a user