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
Fix nullref in thread_update event (
#125
)
pull/1923/head
d4n3436
GitHub
4 years ago
parent
612b12dd0b
commit
eb271a9ccc
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
src/Discord.Net.WebSocket/DiscordSocketClient.cs
+ 6
- 0
src/Discord.Net.WebSocket/DiscordSocketClient.cs
View File
@@ -2245,6 +2245,12 @@ namespace Discord.WebSocket
var channel = (SocketThreadChannel)guild.GetChannel(data.Id);
if (channel == null)
{
await UnknownChannelAsync(type, data.Id);
return;
}
var before = channel.Clone();
channel.Update(State, data);
Write
Preview
Loading…
Cancel
Save