From c9d0ac84637661dbf2b21bec69a5f611d77f93fe Mon Sep 17 00:00:00 2001 From: jonas747 Date: Wed, 28 Sep 2016 06:43:37 +0200 Subject: [PATCH] Update comment to UserGuild --- restapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restapi.go b/restapi.go index b2faac1..3dbc55b 100644 --- a/restapi.go +++ b/restapi.go @@ -350,7 +350,7 @@ func (s *Session) UserChannelCreate(recipientID string) (st *Channel, err error) return } -// UserGuilds returns an array of Guild structures for all guilds. +// UserGuilds returns an array of UserGuild structures for all guilds. func (s *Session) UserGuilds() (st []*UserGuild, err error) { body, err := s.Request("GET", EndpointUserGuilds("@me"), nil)