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
get channel from cache instead of creating new object
pull/2579/head
Misha133
2 years ago
parent
1ea023d32e
commit
64ad96dffb
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/Entities/Messages/SocketUserMessage.cs
+ 1
- 1
src/Discord.Net.WebSocket/Entities/Messages/SocketUserMessage.cs
View File
@@ -181,7 +181,7 @@ namespace Discord.WebSocket
if (model.Thread.IsSpecified)
{
Thread =
SocketThreadChannel.Create(guild, state, model.Thread.Value)
;
Thread =
guild!.AddOrUpdateChannel(state, model.Thread.Value) as SocketThreadChannel
;
}
}
Write
Preview
Loading…
Cancel
Save