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
Unneeded cast
pull/1850/head
Paulo
4 years ago
parent
43ac5b0695
commit
43a195e0bc
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/Discord.Net.WebSocket/DiscordSocketClient.cs
+ 1
- 1
src/Discord.Net.WebSocket/DiscordSocketClient.cs
View File
@@ -1280,7 +1280,7 @@ namespace Discord.WebSocket
{
var dm = SocketDMChannel.Create(this, State, data.ChannelId, data.Author.Value);
channel = dm;
State.AddChannel(
channel as SocketChannel
);
State.AddChannel(
dm
);
dm.Recipient.GlobalUser.DMChannel = dm;
}
else
Write
Preview
Loading…
Cancel
Save