public async Task <IDiscordChannel> GetChannelAsync(ulong id) { var packet = await _apiClient.GetChannelAsync(id); if (packet.GuildId != 0) { return(new DiscordGuildChannel(packet, this)); } return(new DiscordChannel(packet, this)); }