[Feature] Member search v2 (#2931)
* initial commit * tweak some things * a * Update JoinSourceType.cs * ill just hope it works * yup * docz
This commit is contained in:
@@ -1336,6 +1336,10 @@ namespace Discord.WebSocket
|
||||
/// </returns>
|
||||
public Task<IReadOnlyCollection<RestGuildUser>> SearchUsersAsync(string query, int limit = DiscordConfig.MaxUsersPerBatch, RequestOptions options = null)
|
||||
=> GuildHelper.SearchUsersAsync(this, Discord, query, limit, options);
|
||||
|
||||
/// <inheritdoc />
|
||||
public Task<MemberSearchResult> SearchUsersAsyncV2(int limit = DiscordConfig.MaxUsersPerBatch, MemberSearchPropertiesV2 args = null, RequestOptions options = null)
|
||||
=> GuildHelper.SearchUsersAsyncV2(this, Discord, limit, args, options);
|
||||
#endregion
|
||||
|
||||
#region Guild Events
|
||||
|
||||
Reference in New Issue
Block a user