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
Don't crash if an invite has no inviter info
pull/6/head
Brandon Smith
9 years ago
parent
46b633e8de
commit
f61881526a
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/Models/Invite.cs
+ 1
- 1
src/Discord.Net/Models/Invite.cs
View File
@@ -57,7 +57,7 @@ namespace Discord
internal void Update(Net.API.Invite model)
{
ChannelId = model.Channel.Id;
InviterId = model.Inviter.Id;
InviterId = model.Inviter
?
.Id;
ServerId = model.Guild.Id;
}
Write
Preview
Loading…
Cancel
Save