Procházet zdrojové kódy

Fix comment for GatewayBot

jonas747 před 7 roky
rodič
revize
83e18aad7d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      restapi.go

+ 1 - 1
restapi.go

@@ -1716,7 +1716,7 @@ func (s *Session) Gateway() (gateway string, err error) {
 	return
 }
 
-// Gateway returns the websocket Gateway address and the reccomended number of shards
+// GatewayBot returns the websocket Gateway address and the recommended number of shards
 func (s *Session) GatewayBot() (st *GatewayBotResponse, err error) {
 
 	response, err := s.RequestWithBucketID("GET", EndpointGatewayBot, nil, EndpointGatewayBot)