File tree Expand file tree Collapse file tree 3 files changed +31
-2
lines changed Expand file tree Collapse file tree 3 files changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -150,5 +150,5 @@ public string? BadgeUrl
150
150
/// <para><c>3</c> seems to be for when you enabled <c>Apply From Profile</c> when having apply to join enabled.</para>
151
151
/// </summary>
152
152
[ JsonProperty ( "visibility" , NullValueHandling = NullValueHandling . Ignore ) ]
153
- public int Visibility { get ; internal set ; }
153
+ public GuildProfileVisibility Visibility { get ; internal set ; }
154
154
}
Original file line number Diff line number Diff line change @@ -325,5 +325,7 @@ public enum AuditLogActionType
325
325
326
326
GuildScheduledEventExceptionDelete = 202 ,
327
327
328
- GuildMemberVerificationUpdate = 210
328
+ GuildMemberVerificationUpdate = 210 ,
329
+
330
+ GuildProfileUpdate = 211
329
331
}
Original file line number Diff line number Diff line change
1
+ namespace DisCatSharp . Enums ;
2
+
3
+ /// <summary>
4
+ /// Represents the visibility of a guild profile.
5
+ /// </summary>
6
+ public enum GuildProfileVisibility : int
7
+ {
8
+ /// <summary>
9
+ /// Not specified visibility.
10
+ /// </summary>
11
+ NotSpecified = 0 ,
12
+
13
+ /// <summary>
14
+ /// Public visibility.
15
+ /// </summary>
16
+ Public = 1 ,
17
+
18
+ /// <summary>
19
+ /// Restricted visibility.
20
+ /// </summary>
21
+ Restricted = 2 ,
22
+
23
+ /// <summary>
24
+ /// Public with recruitment enabled.
25
+ /// </summary>
26
+ PublicWithRecruitment = 3
27
+ }
You can’t perform that action at this time.
0 commit comments