瀏覽代碼

Fix comment for GatewayBot

jonas747 7 年之前
父節點
當前提交
83e18aad7d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)