Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: limits on integer and number option types #2462

Merged
merged 8 commits into from
Jun 28, 2024
13 changes: 11 additions & 2 deletions docs/api/enums.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ of :class:`enum.Enum`.
A string.
.. attribute:: integer

An integer.
An integer between -2⁵³ and 2⁵³.

.. note::

IDs, such as 881224361015672863, are often too big for this input type.

.. attribute:: boolean

A boolean.
Expand All @@ -47,7 +52,11 @@ of :class:`enum.Enum`.
A mentionable (user or role).
.. attribute:: number

A floating number.
A floating-point number between -2⁵³ and 2⁵³.

.. note::

IDs, such as 881224361015672863, are often too big for this input type.

.. attribute:: attachment

Expand Down
Loading