forked from pothtonswer/discordmuffin
Update comment to UserGuild
This commit is contained in:
parent
3fd53413de
commit
c9d0ac8463
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ func (s *Session) UserChannelCreate(recipientID string) (st *Channel, err error)
|
||||||
return
|
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) {
|
func (s *Session) UserGuilds() (st []*UserGuild, err error) {
|
||||||
|
|
||||||
body, err := s.Request("GET", EndpointUserGuilds("@me"), nil)
|
body, err := s.Request("GET", EndpointUserGuilds("@me"), nil)
|
||||||
|
|
Loading…
Reference in a new issue