Browse Source

Default private channels to ChannelType.Text

tags/docs-0.9
RogueException 9 years ago
parent
commit
5bff403cec
1 changed files with 1 additions and 0 deletions
  1. +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)
{


Loading…
Cancel
Save