1
1
mirror of https://gitlab.com/ceda_ei/Quadnite-Bot synced 2025-10-26 23:00:05 +01:00

Change JSON to pretty JSON.

This commit is contained in:
2018-05-27 16:20:09 +05:30
parent dc38a233ef
commit 2f5b707205

View File

@@ -234,7 +234,8 @@ function kys() {
// Sends back JSON // Sends back JSON
function json() { function json() {
global $var; global $var;
send_text($var); $pretty_json = json_encode(json_decode($var), JSON_PRETTY_PRINT);
send_text($pretty_json);
} }
// Start Message // Start Message
function start() { function start() {