Skript_flags/post.sk

9 lines
437 B
Plaintext

command /send_console:
trigger:
#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"
wait 2 seconds
send "https://paste.anorak01.top" to player
set {_resp} to the body of last response
send "key" of {_resp} to player
#send the body of last response to player