/// <summary> /// Gets the guild's banned users /// </summary> /// <param name="guildId">ID of the guild</param> public static IReadOnlyList <DiscordBan> GetGuildBans(this DiscordClient client, ulong guildId) { return(client.GetGuildBansAsync(guildId).GetAwaiter().GetResult()); }