You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
""":class:`bool`: An alias for :attr:`premium_subscription`.
1975
+
1976
+
.. versionadded:: 2.1
1977
+
"""
1978
+
return1<<6
1979
+
1828
1980
@flag_value
1829
1981
defapplication_guild_subscription(self):
1830
1982
""":class:`bool`: Returns ``True`` if the SKU is a application subscription. These are subscriptions made to applications for premium perks bound to a guild."""
@@ -1852,6 +2004,14 @@ def guild_product(self):
1852
2004
"""
1853
2005
return1<<10
1854
2006
2007
+
@flag_value
2008
+
defavailable_for_application_gifting(self):
2009
+
""":class:`bool`: Returns ``True`` if the SKU is a giftable application product.
2010
+
2011
+
.. versionadded:: 2.1
2012
+
"""
2013
+
return1<<11
2014
+
1855
2015
1856
2016
@fill_with_flags()
1857
2017
classPaymentFlags(BaseFlags):
@@ -2854,6 +3014,34 @@ def guest(self):
2854
3014
"""
2855
3015
return1<<4
2856
3016
3017
+
@flag_value
3018
+
defstarted_home_actions(self):
3019
+
""":class:`bool`: Returns ``True`` if the member has started the new member actions in the server guide."""
3020
+
return1<<5
3021
+
3022
+
@flag_value
3023
+
defcompleted_home_actions(self):
3024
+
""":class:`bool`: Returns ``True`` if the member has completed all of the new member actions in the server guide."""
3025
+
return1<<6
3026
+
3027
+
@flag_value
3028
+
defautomod_quarantined_name(self):
3029
+
""":class:`bool`: Returns ``True`` if the member's has been
3030
+
quarantined by AutoMod due to their username, display name, or nickname.
3031
+
3032
+
.. versionadded:: 2.1
3033
+
"""
3034
+
return1<<7
3035
+
3036
+
@flag_value
3037
+
defdm_settings_upsell_acknowledged(self):
3038
+
""":class:`bool`: Returns ``True`` if the member has acknowledged the DM privacy settings upsell modal.
3039
+
3040
+
.. versionadded:: 2.1
3041
+
"""
3042
+
return1<<9
3043
+
3044
+
@flag_value
2857
3045
defautomod_quarantined_guild_tag(self):
2858
3046
""":class:`bool`: Returns ``True`` if the member's has been
2859
3047
quarantined by AutoMod due to their guild tag.
@@ -3078,6 +3266,16 @@ def animated(self):
3078
3266
""":class:`bool`: Returns ``True`` if the attachment is an animated image."""
3079
3267
return1<<5
3080
3268
3269
+
@flag_value
3270
+
defcontains_gore_content(self):
3271
+
""":class:`bool`: Returns ``True`` if the attachment is flagged as gore content."""
3272
+
return1<<6
3273
+
3274
+
@flag_value
3275
+
defcontains_self_harm_content(self):
3276
+
""":class:`bool`: Returns ``True`` if the attachment is flagged as self-harm content."""
0 commit comments