Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!empty($newChatMembers)){
- foreach($newChatMembers as $membro){
- $membroUsername = $membro['username'];
- $membroID = $membro['id'];
- $membroBot = $membro['is_bot'];
- if($membroBot && $membroID == 949275010){
- sm($chatID, "🐼 Ciao io sono il Pandometro di Sicurezza. Sono qui per proteggere il gruppo dai bot");
- }elseif($membroBot){
- if(ku($chatID, $userID)){
- sm($chatID, "Ho bannato @$membroUsername perchè è un bot!");
- }else{
- sm($chatID, "Non sono riuscito a bannare @$membroUsername. Sicuro che io sia admin?");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement