From 9d2eadbbe06615de6f753b494489ea6842ac5a64 Mon Sep 17 00:00:00 2001 From: Onichaa <91194692+Onichaa@users.noreply.github.com> Date: Fri, 30 Aug 2024 13:16:48 +0800 Subject: [PATCH] Update main.go --- main.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.go b/main.go index 515b08e..583c3c3 100644 --- a/main.go +++ b/main.go @@ -107,11 +107,8 @@ func NewBot(id string, callback func(string)) *whatsmeow.Client { callback("melebihi 60 detik, memutuskan") } }) - - client.SendPresence(types.PresenceUnavailable) } else { fmt.Println("Connected to readsw!!") - client.SendPresence(types.PresenceUnavailable) } return client }