1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-04 04:56: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

@ -882,17 +882,38 @@ namespace Octobot {
}
}
internal static string RandomMinGreaterThanMax
internal static string RandomTitle
{
get {
return ResourceManager.GetString("RandomMinGreaterThanMax", resourceCulture);
return ResourceManager.GetString("RandomTitle", resourceCulture);
}
}
internal static string RandomOutput
internal static string RandomMinMaxSame
{
get {
return ResourceManager.GetString("RandomOutput", resourceCulture);
return ResourceManager.GetString("RandomMinMaxSame", resourceCulture);
}
}
internal static string RandomMax
{
get {
return ResourceManager.GetString("RandomMax", resourceCulture);
}
}
internal static string RandomMin
{
get {
return ResourceManager.GetString("RandomMin", resourceCulture);
}
}
internal static string Default
{
get {
return ResourceManager.GetString("Default", resourceCulture);
}
}