コード例 #1
0
ファイル: ClientToolbox.cs プロジェクト: ForgeSharp/DNet
 public Task <ChannelType> GetChannel <ChannelType>(string channelId) where ChannelType : Channel
 {
     // TODO: Need to inject client
     return(ClientToolbox.FetchStructure <ChannelType>(DiscordAPI.Channel(channelId)));
 }