Update 'post.sk'

main
Anorak_1 2022-09-11 18:50:07 +00:00
parent 213e478f25
commit bc2f62d5ea
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
command /send_console: command /send_console:
trigger: trigger:
#send content of file path "logs/latest.log" to player #send content of file path "logs/latest.log" to player
send a "post" request to "https://paste.anorak01.top/documents" with the body content of file path "logs/latest.log" #send a "post" request to "https://paste.anorak01.top/documents" with the body content of file path "logs/latest.log"
wait 2 seconds wait 2 seconds
send "https://paste.anorak01.top" to player send "<link:https://paste.anorak01.top>" to player
set {_resp} to the body of last response set {_resp} to the body of last response
set {_sections::*} to {_resp} split at ":" set {_sections::*} to {_resp} split at ":"
send {_sections::*} to player send {_sections::*} to player