mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-05-11 08:23:15 +03:00
this commit is illegal
This commit is contained in:
parent
07e8784d2e
commit
e0161037bb
8 changed files with 63 additions and 3 deletions
|
@ -16,9 +16,9 @@ public sealed class LanguageOption : GuildOption<CultureInfo>
|
|||
|
||||
public LanguageOption(string name, string defaultValue) : base(name, CultureInfoCache[defaultValue]) { }
|
||||
|
||||
public override string Display(JsonNode settings)
|
||||
public override string Value(JsonNode settings)
|
||||
{
|
||||
return Markdown.InlineCode(settings[Name]?.GetValue<string>() ?? "en");
|
||||
return settings[Name]?.GetValue<string>() ?? "en";
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue