Browse Source

Fix comment for GatewayBot

jonas747 7 years ago
parent
commit
83e18aad7d
1 changed files with 1 additions and 1 deletions
  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)