Add check to work only in our group.
This commit is contained in:
parent
7cc111dce8
commit
dc8990ba6f
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue