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
Renaming NotDefined to Undefined
pull/1491/head
Paulo
5 years ago
parent
1373f73338
commit
ecad6be7bf
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/Discord.Net.Core/Entities/Invites/TargetUserType.cs
+1
-1
src/Discord.Net.WebSocket/Entities/Invites/SocketInvite.cs
+ 1
- 1
src/Discord.Net.Core/Entities/Invites/TargetUserType.cs
View File
@@ -3,7 +3,7 @@ namespace Discord
public enum TargetUserType
{
/// <summary> The invite target user type is not defined. </summary>
NotD
efined = 0,
Und
efined = 0,
/// <summary> The invite is for a Go Live stream. </summary>
Stream = 1
}
+ 1
- 1
src/Discord.Net.WebSocket/Entities/Invites/SocketInvite.cs
View File
@@ -117,7 +117,7 @@ namespace Discord.WebSocket
MaxUses = model.MaxUses;
Uses = model.Uses;
_createdAtTicks = model.CreatedAt.UtcTicks;
TargetUserType = model.TargetUserType.IsSpecified ? model.TargetUserType.Value : TargetUserType.
NotD
efined;
TargetUserType = model.TargetUserType.IsSpecified ? model.TargetUserType.Value : TargetUserType.
Und
efined;
}
/// <inheritdoc />
Write
Preview
Loading…
Cancel
Save