Merge branch 'merge' into merge-analytics
This commit is contained in:
commit
2262bf6e04
1 changed files with 3 additions and 1 deletions
|
|
@ -58,7 +58,9 @@ class BotOptionsModel {
|
|||
//////////////////////////////////////////////////////////////////////////
|
||||
// General Bot Options
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
languageLevel: json[ModelKey.languageLevel],
|
||||
languageLevel: json[ModelKey.languageLevel] is int
|
||||
? json[ModelKey.languageLevel]
|
||||
: null,
|
||||
safetyModeration: json[ModelKey.safetyModeration] ?? true,
|
||||
mode: json[ModelKey.mode] ?? "discussion",
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue