Closed JustaSqu1d closed 2 months ago
Should probably just replace the docs for that instead of making a note
Does specifying the limits as exponents of 2 actually help with anything?
Does specifying the limits as exponents of 2 actually help with anything?
Would you rather have 9.0071992547*10^15? Or am I misunderstanding the question?
Does specifying the limits as exponents of 2 actually help with anything?
Would you rather have 9.0071992547*10^15? Or am I misunderstanding the question?
You did get that right and I did mean that, but now I think we should specify both, like "9007199254740992 (2^53)".
Summary
Many people seem to use
SlashCommandOptionType.integer
or similar for IDs. This change serves to clarify its limitations.The superscripts seem to have extra spacing because of monospaces, but this looks fine-ish on the documentation.
Looking for feedback about whether the ID notes for
SlashCommandOptionType.number
are necessary or can be removed.I'm not sure how to remove ambiguity with this change and with
Option.max_value
andOption.min_value
since those can be used to change the range of accepted values.Information
Checklist
type: ignore
comments were used, a comment is also left explaining why.