Add check to work only in our group.

This commit is contained in:
Ceda EI 2018-07-01 19:29:22 +05:30
parent 7cc111dce8
commit dc8990ba6f
1 changed files with 4 additions and 0 deletions

View File

@ -140,6 +140,10 @@ $decoded = json_decode($var);
// Store the chat ID
$chat_id = $decoded->{"message"}->{"chat"}->{"id"};
if ($chat_id != -1001279314046){
exit();
}
$modules = array(
array(
"command" => "/deposit",