File tree Expand file tree Collapse file tree 4 files changed +22
-0
lines changed Expand file tree Collapse file tree 4 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -596,6 +596,13 @@ def __int__(self):
596
596
return self .value
597
597
598
598
599
+ class ApplicationType (Enum ):
600
+ game = 1
601
+ music = 2
602
+ ticketed_events = 3
603
+ guild_role_subscriptions = 4
604
+
605
+
599
606
class StagePrivacyLevel (Enum ):
600
607
public = 1
601
608
closed = 2
Original file line number Diff line number Diff line change @@ -426,6 +426,11 @@ def bug_hunter_level_2(self):
426
426
""":class:`bool`: Returns ``True`` if the user is a Bug Hunter Level 2"""
427
427
return UserFlags .bug_hunter_level_2 .value
428
428
429
+ @flag_value
430
+ def has_unread_urgent_messages (self ):
431
+ """:class:`bool`: Returns ``True`` if the user has a unread urgent messages."""
432
+ return UserFlags .has_unread_urgent_messages .value
433
+
429
434
@flag_value
430
435
def underage_deleted (self ):
431
436
""":class:`bool`: Returns ``True`` if the user has a pending deletion for being underage in DOB prompt"""
Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ class Guild(Hashable):
208
208
- ``FEATURABLE``: Guild is able to be featured in Server Discovery.
209
209
- ``HAS_DIRECTORY_ENTRY``: Unknown.
210
210
- ``HUB``: Hubs contain a directory channel that let you find school-related, student-run servers for your school or university.
211
+ - ``INTERNAL_EMPLOYEE_ONLY``: Indicates that only users with the staff badge can join the guild.
211
212
- ``INVITE_SPLASH``: Guild's invite page can have a special splash.
212
213
- ``LINKED_TO_HUB``: 'Guild is linked to a hub.
213
214
- ``MEMBER_PROFILES``: Unknown.
Original file line number Diff line number Diff line change @@ -1437,6 +1437,9 @@ of :class:`enum.Enum`.
1437
1437
.. attribute :: team_user
1438
1438
1439
1439
The user is a Team User.
1440
+ .. attribute :: partner_or_verification_application
1441
+
1442
+ Relates to partner/verification applications.
1440
1443
.. attribute :: system
1441
1444
1442
1445
The user is a system user (i.e. represents Discord officially).
@@ -1455,6 +1458,12 @@ of :class:`enum.Enum`.
1455
1458
.. attribute :: discord_certified_moderator
1456
1459
1457
1460
The user is a Discord Certified Moderator.
1461
+ .. attribute :: bot_http_interactions
1462
+
1463
+ The bot has set an interactions endpoint url.
1464
+ .. attribute :: spammer
1465
+
1466
+ The user is disabled for being a spammer.
1458
1467
1459
1468
.. class :: ActivityType
1460
1469
You can’t perform that action at this time.
0 commit comments