Merge pull request #646 from NewWinter/patch-1
Add proper response type for GuildBans docs
This commit is contained in:
commit
8d8906ce4b
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ func (s *Session) GuildLeave(guildID string) (err error) {
|
||||||
return
|
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.
|
// given guild.
|
||||||
// guildID : The ID of a Guild.
|
// guildID : The ID of a Guild.
|
||||||
func (s *Session) GuildBans(guildID string) (st []*GuildBan, err error) {
|
func (s *Session) GuildBans(guildID string) (st []*GuildBan, err error) {
|
||||||
|
|
Loading…
Reference in a new issue