|
@@ -399,7 +399,7 @@ func (s *Session) UpdateStatusComplex(usd UpdateStatusData) (err error) {
|
|
|
}
|
|
|
|
|
|
type requestGuildMembersData struct {
|
|
|
- GuildID string `json:"guild_id"`
|
|
|
+ GuildID []string `json:"guild_id"`
|
|
|
Query string `json:"query"`
|
|
|
Limit int `json:"limit"`
|
|
|
}
|
|
@@ -411,10 +411,10 @@ type requestGuildMembersOp struct {
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-func (s *Session) RequestGuildMembers(guildID, query string, limit int) (err error) {
|
|
|
+func (s *Session) RequestGuildMembers(guildID []string, query string, limit int) (err error) {
|
|
|
s.log(LogInformational, "called")
|
|
|
|
|
|
s.RLock()
|