Advertisement
kohpriwniranam

joincanv1

Jun 13th, 2023
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. func JoinCancelV1(client *oop.Account, to string) {
  2. var Batas = 0
  3. c, _ := client.GetChats([]string{to})
  4. pen := c.Chats[0].Extra.GroupExtra.InviteeMids
  5. for oP3, _ := range pen {
  6. bagong := oP3
  7. if IsBlacklist(client, bagong) == true {
  8. go func(bagong string) {
  9. go client.CancelChatInvitations(to, []string{bagong})
  10. }(bagong)
  11. Batas = Batas + 1
  12. if Batas >= MaxCancel-1 {
  13. Batas = 0
  14. break
  15. }
  16. }
  17. }
  18. runtime.GOMAXPROCS(cpu)
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement