Added VERSIONS file which will be edited in CI

This commit is contained in:
Toastie 2025-02-11 11:54:42 +13:00
parent 204f426764
commit cd62822697
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7
2 changed files with 6 additions and 1 deletions
VERSIONS
src/EllieBot/Modules/Administration

1
VERSIONS Normal file
View file

@ -0,0 +1 @@
6.0.0

View file

@ -112,8 +112,12 @@ public partial class Administration
_localization.SetDefaultCulture(ci);
}
var nativeName = ci.NativeName;
if (ci.Name == "ts-TS")
nativeName = _supportedLocales[ci.Name];
await Response().Confirm(strs.lang_set_bot(Format.Bold(ci.ToString()),
Format.Bold(ci.NativeName))).SendAsync();
Format.Bold(nativeName))).SendAsync();
}
catch (Exception)
{