/// <summary> /// Gets a guild's channels /// </summary> /// <param name="guildId">ID of the guild</param> public static IReadOnlyList <GuildChannel> GetGuildChannels(this DiscordClient client, ulong guildId) { return(client.GetGuildChannelsAsync(guildId).GetAwaiter().GetResult()); }