Merge pull request #646 from NewWinter/patch-1

Add proper response type for GuildBans docs
This commit is contained in:
Skippy 2019-05-13 12:35:26 -05:00 committed by GitHub
commit 8d8906ce4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -675,7 +675,7 @@ func (s *Session) GuildLeave(guildID string) (err error) {
return
}
// GuildBans returns an array of User structures for all bans of a
// GuildBans returns an array of GuildBan structures for all bans of a
// given guild.
// guildID : The ID of a Guild.
func (s *Session) GuildBans(guildID string) (st []*GuildBan, err error) {