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
Fixed GuildUser not initializing
pull/97/head
RogueException
9 years ago
parent
67c810b715
commit
4416b514bf
2 changed files
with
4 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/Discord.Net/Rest/Entities/Users/GuildUser.cs
+2
-0
src/Discord.Net/WebSocket/Entities/Users/GuildUser.cs
+ 2
- 0
src/Discord.Net/Rest/Entities/Users/GuildUser.cs
View File
@@ -34,6 +34,8 @@ namespace Discord.Rest
: base(model.User)
: base(model.User)
{
{
Guild = guild;
Guild = guild;
Update(model);
}
}
internal void Update(Model model)
internal void Update(Model model)
{
{
+ 2
- 0
src/Discord.Net/WebSocket/Entities/Users/GuildUser.cs
View File
@@ -34,6 +34,8 @@ namespace Discord.WebSocket
: base(model.User)
: base(model.User)
{
{
Guild = guild;
Guild = guild;
Update(model);
}
}
internal void Update(Model model)
internal void Update(Model model)
{
{
Write
Preview
Loading…
Cancel
Save