diff --git a/webhook.php b/webhook.php index e740056..28b495e 100644 --- a/webhook.php +++ b/webhook.php @@ -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();" ) );