This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
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
Default private channels to ChannelType.Text
pull/32/head
RogueException
9 years ago
parent
0fe6835400
commit
5bff403cec
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/Discord.Net/Models/Channel.cs
+ 1
- 0
src/Discord.Net/Models/Channel.cs
View File
@@ -121,6 +121,7 @@ namespace Discord
Recipient = recipient;
AddUser(client.PrivateUser);
AddUser(recipient);
Type = ChannelType.Text; //Discord doesn't give us a type for private channels
}
private Channel(DiscordClient client, ulong id)
{
Write
Preview
Loading…
Cancel
Save