|
|
@ -239,6 +239,12 @@ class SystemChannelFlags(BaseFlags): |
|
|
|
Returns an iterator of ``(name, value)`` pairs. This allows it |
|
|
|
to be, for example, constructed as a dict or a list of pairs. |
|
|
|
|
|
|
|
.. describe:: bool(b) |
|
|
|
|
|
|
|
Returns whether any flag is set to ``True``. |
|
|
|
|
|
|
|
.. versionadded:: 2.0 |
|
|
|
|
|
|
|
Attributes |
|
|
|
----------- |
|
|
|
value: :class:`int` |
|
|
@ -361,6 +367,12 @@ class MessageFlags(BaseFlags): |
|
|
|
Returns an iterator of ``(name, value)`` pairs. This allows it |
|
|
|
to be, for example, constructed as a dict or a list of pairs. |
|
|
|
|
|
|
|
.. describe:: bool(b) |
|
|
|
|
|
|
|
Returns whether any flag is set to ``True``. |
|
|
|
|
|
|
|
.. versionadded:: 2.0 |
|
|
|
|
|
|
|
.. versionadded:: 1.3 |
|
|
|
|
|
|
|
Attributes |
|
|
@ -509,6 +521,12 @@ class PublicUserFlags(BaseFlags): |
|
|
|
to be, for example, constructed as a dict or a list of pairs. |
|
|
|
Note that aliases are not shown. |
|
|
|
|
|
|
|
.. describe:: bool(b) |
|
|
|
|
|
|
|
Returns whether any flag is set to ``True``. |
|
|
|
|
|
|
|
.. versionadded:: 2.0 |
|
|
|
|
|
|
|
.. versionadded:: 1.4 |
|
|
|
|
|
|
|
Attributes |
|
|
@ -693,6 +711,12 @@ class Intents(BaseFlags): |
|
|
|
Returns an iterator of ``(name, value)`` pairs. This allows it |
|
|
|
to be, for example, constructed as a dict or a list of pairs. |
|
|
|
|
|
|
|
.. describe:: bool(b) |
|
|
|
|
|
|
|
Returns whether any intent is enabled. |
|
|
|
|
|
|
|
.. versionadded:: 2.0 |
|
|
|
|
|
|
|
Attributes |
|
|
|
----------- |
|
|
|
value: :class:`int` |
|
|
@ -1278,6 +1302,12 @@ class MemberCacheFlags(BaseFlags): |
|
|
|
Returns an iterator of ``(name, value)`` pairs. This allows it |
|
|
|
to be, for example, constructed as a dict or a list of pairs. |
|
|
|
|
|
|
|
.. describe:: bool(b) |
|
|
|
|
|
|
|
Returns whether any flag is set to ``True``. |
|
|
|
|
|
|
|
.. versionadded:: 2.0 |
|
|
|
|
|
|
|
Attributes |
|
|
|
----------- |
|
|
|
value: :class:`int` |
|
|
@ -1421,6 +1451,10 @@ class ApplicationFlags(BaseFlags): |
|
|
|
to be, for example, constructed as a dict or a list of pairs. |
|
|
|
Note that aliases are not shown. |
|
|
|
|
|
|
|
.. describe:: bool(b) |
|
|
|
|
|
|
|
Returns whether any flag is set to ``True``. |
|
|
|
|
|
|
|
.. versionadded:: 2.0 |
|
|
|
|
|
|
|
Attributes |
|
|
@ -1556,6 +1590,10 @@ class ChannelFlags(BaseFlags): |
|
|
|
to be, for example, constructed as a dict or a list of pairs. |
|
|
|
Note that aliases are not shown. |
|
|
|
|
|
|
|
.. describe:: bool(b) |
|
|
|
|
|
|
|
Returns whether any flag is set to ``True``. |
|
|
|
|
|
|
|
.. versionadded:: 2.0 |
|
|
|
|
|
|
|
Attributes |
|
|
@ -1652,6 +1690,10 @@ class AutoModPresets(ArrayFlags): |
|
|
|
to be, for example, constructed as a dict or a list of pairs. |
|
|
|
Note that aliases are not shown. |
|
|
|
|
|
|
|
.. describe:: bool(b) |
|
|
|
|
|
|
|
Returns whether any flag is set to ``True``. |
|
|
|
|
|
|
|
Attributes |
|
|
|
----------- |
|
|
|
value: :class:`int` |
|
|
@ -1736,6 +1778,10 @@ class MemberFlags(BaseFlags): |
|
|
|
to be, for example, constructed as a dict or a list of pairs. |
|
|
|
Note that aliases are not shown. |
|
|
|
|
|
|
|
.. describe:: bool(b) |
|
|
|
|
|
|
|
Returns whether any flag is set to ``True``. |
|
|
|
|
|
|
|
|
|
|
|
Attributes |
|
|
|
----------- |
|
|
|