From 1abc49595328899045cffbd574b1434939f9fe17 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Mon, 23 Apr 2018 23:54:27 +0200 Subject: [PATCH] Update schema.js --- docs/WebConfigGenerator/src/schema.js | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/docs/WebConfigGenerator/src/schema.js b/docs/WebConfigGenerator/src/schema.js index c9c323fd2..74eeca302 100644 --- a/docs/WebConfigGenerator/src/schema.js +++ b/docs/WebConfigGenerator/src/schema.js @@ -1,7 +1,7 @@ import Validators from './validators'; export default { - 'V3.1.2.2+': { + 'V3.1.2.3+': { asf: [ { legend: 'schema.basic', @@ -260,10 +260,16 @@ export default { defaultValue: false }, { - type: 'InputCheckbox', - label: 'IsBotAccount', - field: 'IsBotAccount', - defaultValue: false + type: 'InputFlag', + label: 'BotBehaviour', + field: 'BotBehaviour', + values: [ + { value: 0, name: 'None' }, + { value: 1, name: 'RejectInvalidFriendInvites' }, + { value: 2, name: 'RejectInvalidTrades' } + ], + defaultValue: 0, + advanced: true }, { type: 'InputCheckbox',