Send back recieved JSON
This commit is contained in:
parent
2954657920
commit
dc38a233ef
|
@ -231,6 +231,11 @@ function kys() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Sends back JSON
|
||||||
|
function json() {
|
||||||
|
global $var;
|
||||||
|
send_text($var);
|
||||||
|
}
|
||||||
// Start Message
|
// Start Message
|
||||||
function start() {
|
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.');
|
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(
|
array(
|
||||||
"command" => "/kys",
|
"command" => "/kys",
|
||||||
"function" => "kys();"
|
"function" => "kys();"
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
"command" => "/json",
|
||||||
|
"function" => "json();"
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue