Ejemplo n.º 1
0
 /// <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());
 }