Add /everyone

This commit is contained in:
Ceda EI 2018-07-02 14:47:08 +05:30
parent dc8990ba6f
commit a2fafc1864
1 changed files with 16 additions and 0 deletions

View File

@ -133,6 +133,18 @@ function get_updated_req() {
}
edit_html($text);
}
function everyone() {
global $command_list;
$text = "@ceda_ei @bryan2810 @TrueHanash @jrioln @JD_the_fish @wand_maker @Tropics888 @chickadeer @amolith @RafsD8 @quilombola @Trixity ";
for ($i = 1; $i < count($command_list); $i++){
$text .= $command_list[$i];
$text .= " ";
}
}
send_html($text);
}
// Get JSON from post, store it and decode it.
$var = file_get_contents('php://input');
$decoded = json_decode($var);
@ -156,6 +168,10 @@ $modules = array(
array(
"command" => "/add",
"function" => "add_requirement();"
),
array(
"command" => "/everyone",
"function" => "everyone();"
)
);