mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
1 parent
c4e09acff8
commit
6c42065210
5 files changed
+15
-15
No files matched your search
+8
-8
@@ -1322,28 +1322,28 @@ class ApplicationFlags(BaseFlags):
|
||||
|
||||
.. describe:: x | y, x |= y
|
||||
|
||||
Returns a ApplicationFlags instance with all enabled flags from
|
||||
Returns an ApplicationFlags instance with all enabled flags from
|
||||
both x and y.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
.. describe:: x & y, x &= y
|
||||
|
||||
Returns a ApplicationFlags instance with only flags enabled on
|
||||
Returns an ApplicationFlags instance with only flags enabled on
|
||||
both x and y.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
.. describe:: x ^ y, x ^= y
|
||||
|
||||
Returns a ApplicationFlags instance with only flags enabled on
|
||||
Returns an ApplicationFlags instance with only flags enabled on
|
||||
only one of x or y, not on both.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
.. describe:: ~x
|
||||
|
||||
Returns a ApplicationFlags instance with all flags inverted from x.
|
||||
Returns an ApplicationFlags instance with all flags inverted from x.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
@@ -1518,28 +1518,28 @@ class AutoModPresets(ArrayFlags):
|
||||
|
||||
.. describe:: x | y, x |= y
|
||||
|
||||
Returns a AutoModPresets instance with all enabled flags from
|
||||
Returns an AutoModPresets instance with all enabled flags from
|
||||
both x and y.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
.. describe:: x & y, x &= y
|
||||
|
||||
Returns a AutoModPresets instance with only flags enabled on
|
||||
Returns an AutoModPresets instance with only flags enabled on
|
||||
both x and y.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
.. describe:: x ^ y, x ^= y
|
||||
|
||||
Returns a AutoModPresets instance with only flags enabled on
|
||||
Returns an AutoModPresets instance with only flags enabled on
|
||||
only one of x or y, not on both.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
.. describe:: ~x
|
||||
|
||||
Returns a AutoModPresets instance with all flags inverted from x.
|
||||
Returns an AutoModPresets instance with all flags inverted from x.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
|
||||
Reference in new issue
Block a user