Browse Source

Fix ApplicationDiscoveryFlags docs

pull/10109/head
dolfies 2 years ago
parent
commit
e7953545e0
  1. 12
      discord/flags.py

12
discord/flags.py

@ -1821,25 +1821,25 @@ class ApplicationDiscoveryFlags(BaseFlags):
.. describe:: x == y .. describe:: x == y
Checks if two LibraryApplicationFlags are equal. Checks if two ApplicationDiscoveryFlags are equal.
.. describe:: x != y .. describe:: x != y
Checks if two LibraryApplicationFlags are not equal. Checks if two ApplicationDiscoveryFlags are not equal.
.. describe:: x | y, x |= y .. describe:: x | y, x |= y
Returns a LibraryApplicationFlags instance with all enabled flags from Returns a ApplicationDiscoveryFlags instance with all enabled flags from
both x and y. both x and y.
.. describe:: x & y, x &= y .. describe:: x & y, x &= y
Returns a LibraryApplicationFlags instance with only flags enabled on Returns a ApplicationDiscoveryFlags instance with only flags enabled on
both x and y. both x and y.
.. describe:: x ^ y, x ^= y .. describe:: x ^ y, x ^= y
Returns a LibraryApplicationFlags instance with only flags enabled on Returns a ApplicationDiscoveryFlags instance with only flags enabled on
only one of x or y, not on both. only one of x or y, not on both.
.. describe:: ~x .. describe:: ~x
Returns a LibraryApplicationFlags instance with all flags inverted from x. Returns a ApplicationDiscoveryFlags instance with all flags inverted from x.
.. describe:: hash(x) .. describe:: hash(x)
Return the flag's hash. Return the flag's hash.

Loading…
Cancel
Save