/// <summary> /// Gets a list of all users banned from this guild. /// <para>Requires <see cref="DiscordPermission.BanMembers"/>.</para> /// </summary> /// <exception cref="DiscordHttpApiException"></exception> public Task <IReadOnlyList <DiscordGuildBan> > GetBans() { return(http.GetGuildBans(Id)); }