From 3c427f9df5eef0520d72780a08bffa7c0f5d671b Mon Sep 17 00:00:00 2001 From: YABOI <110062350+YABOIpy@users.noreply.github.com> Date: Tue, 14 Nov 2023 00:07:12 +0100 Subject: [PATCH] Update websocket.go --- src/modules/websocket.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/websocket.go b/src/modules/websocket.go index beac1d5..3432b1a 100644 --- a/src/modules/websocket.go +++ b/src/modules/websocket.go @@ -6,7 +6,6 @@ import ( "log" "math/rand" shttp "net/http" - "time" ) func (ws *Sock) Connect(Token string, in *Instance) (*WsResp, *Sock, error) { @@ -41,7 +40,7 @@ func (ws *Sock) Connect(Token string, in *Instance) (*WsResp, *Sock, error) { func (ws *Sock) ScrapeUsers(GID, CID string, iter int) []Member { - time.Sleep(time.Second) + //time.Sleep(time.Second) ws.GuildConnection(GID, CID, iter) _, b, _ := ws.Ws.ReadMessage()