This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Added missing implementations
pull/794/head
v3Monsta
8 years ago
parent
ae645d6269
commit
eb1b04df92
2 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/Discord.Net.Rest/Entities/Channels/RestTextChannel.cs
+3
-0
src/Discord.Net.WebSocket/Entities/Channels/SocketTextChannel.cs
+ 2
- 0
src/Discord.Net.Rest/Entities/Channels/RestTextChannel.cs
View File
@@ -75,6 +75,8 @@ namespace Discord.Rest
private string DebuggerDisplay => $"{Name} ({Id}, Text)";
bool ITextChannel.IsNsfw => ChannelHelper.IsNsfw(this);
//IMessageChannel
async Task<IMessage> IMessageChannel.GetMessageAsync(ulong id, CacheMode mode, RequestOptions options)
{
+ 3
- 0
src/Discord.Net.WebSocket/Entities/Channels/SocketTextChannel.cs
View File
@@ -110,6 +110,9 @@ namespace Discord.WebSocket
}
private string DebuggerDisplay => $"{Name} ({Id}, Text)";
bool ITextChannel.IsNsfw => ChannelHelper.IsNsfw(this);
internal new SocketTextChannel Clone() => MemberwiseClone() as SocketTextChannel;
//IGuildChannel
Write
Preview
Loading…
Cancel
Save