1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-05 13:36:30 +03:00

Update /random (#138)

Updates in /random:
- Set default minimum number to 0.
- Show maximum & minimum numbers.
- Recolor & display a message when user tries to use exact same number in first and second fields for some reason.
- Mention user in small title.
- Automatically detect max & min numbers.
- Add `long` support.
- Show what default number is.

---------

Signed-off-by: Macintosh II <95250141+mctaylors@users.noreply.github.com>
Signed-off-by: Apceniy <53149450+Apceniy@users.noreply.github.com>
Signed-off-by: Macintosh II <mctaylxrs@outlook.com>
Co-authored-by: Apceniy <53149450+Apceniy@users.noreply.github.com>
This commit is contained in:
Macintxsh 2023-10-04 15:32:54 +03:00 committed by GitHub
parent 7cf200d8de
commit 777dbc6eec
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 103 additions and 39 deletions

View file

@ -525,11 +525,20 @@
<data name="ShowInfoGuildMemberPremiumSince" xml:space="preserve">
<value>Nitro booster since</value>
</data>
<data name="RandomMinGreaterThanMax" xml:space="preserve">
<value>The minimum number is greater than the maximum!</value>
<data name="RandomTitle" xml:space="preserve">
<value>Random number for {0} is:</value>
</data>
<data name="RandomOutput" xml:space="preserve">
<value>Your random number is:</value>
<data name="RandomMinMaxSame" xml:space="preserve">
<value>Isn't it obvious?</value>
</data>
<data name="RandomMin" xml:space="preserve">
<value>Minimum number: {0}</value>
</data>
<data name="RandomMax" xml:space="preserve">
<value>Maximum number: {0}</value>
</data>
<data name="Default" xml:space="preserve">
<value>(default)</value>
</data>
<data name="TimestampTitle" xml:space="preserve">
<value>Timestamp for {0}:</value>