Send back recieved JSON

This commit is contained in:
Ceda EI 2018-05-27 15:57:43 +05:30
parent 2954657920
commit dc38a233ef
1 changed files with 9 additions and 0 deletions

View File

@ -231,6 +231,11 @@ function kys() {
}
}
// Sends back JSON
function json() {
global $var;
send_text($var);
}
// Start Message
function start() {
send_text('Hi, I am Quadnite. If you are chatting with me in private, you are most likely doing it wrong. Add me to a group for fun. Do not promote me to an admin or I WILL hate you.');
@ -318,6 +323,10 @@ $modules = array(
array(
"command" => "/kys",
"function" => "kys();"
),
array(
"command" => "/json",
"function" => "json();"
)
);