|
@@ -250,16 +250,6 @@ func (s *Session) GuildBanDelete(guildID, userID string) (err error) {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
-// GuildMembers returns an array of Member structures for all members of a
|
|
|
-// given guild.
|
|
|
-// guildID : The ID of a Guild.
|
|
|
-func (s *Session) GuildMembers(guildID string) (st []Member, err error) {
|
|
|
-
|
|
|
- body, err := s.Request("GET", GUILD_MEMBERS(guildID), nil)
|
|
|
- err = json.Unmarshal(body, &st)
|
|
|
- return
|
|
|
-}
|
|
|
-
|
|
|
// GuildMemberDelete removes the given user from the given guild.
|
|
|
// guildID : The ID of a Guild.
|
|
|
// userID : The ID of a User
|