コード例 #1
0
ファイル: Shell.cs プロジェクト: Xeltica/RealXelticaBot
 public async Task UnmuteAsync(ICUser user)
 {
     throw new NotSupportedException();
 }
コード例 #2
0
ファイル: Shell.cs プロジェクト: Xeltica/RealXelticaBot
 public async Task FollowAsync(ICUser user)
 {
     throw new NotSupportedException();
 }
コード例 #3
0
ファイル: Shell.cs プロジェクト: Xeltica/RealXelticaBot
 public async Task BlockAsync(ICUser user)
 {
     throw new NotSupportedException();
 }
コード例 #4
0
ファイル: Shell.cs プロジェクト: Xeltica/RealXelticaBot
        public async Task <IPost> SendDirectMessageAsync(ICUser user, string text)
        {
            var ch = await(user as DCUser).Native.GetOrCreateDMChannelAsync();

            return(new DCPost(await ch.SendMessageAsync(text)));
        }