Merge pull request #363 from Lord-Ptolemy/develop

Fixed grammatical error in restapi.go docs
This commit is contained in:
Bruce 2017-04-28 14:24:43 +00:00 committed by GitHub
commit 2a4314dbdc

View file

@ -1601,7 +1601,7 @@ func (s *Session) VoiceICE() (st *VoiceICE, err error) {
// Functions specific to Discord Websockets // Functions specific to Discord Websockets
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
// Gateway returns the a websocket Gateway address // Gateway returns the websocket Gateway address
func (s *Session) Gateway() (gateway string, err error) { func (s *Session) Gateway() (gateway string, err error) {
response, err := s.RequestWithBucketID("GET", EndpointGateway, nil, EndpointGateway) response, err := s.RequestWithBucketID("GET", EndpointGateway, nil, EndpointGateway)