Channel configuration UI + disabling bannedJIDs (for now)

This commit is contained in:
John Livingston
2023-09-20 16:43:25 +02:00
parent 501e958c4b
commit f00bac5eb1
7 changed files with 130 additions and 46 deletions

View File

@ -28,7 +28,7 @@ async function vivifyConfigurationChannel (
const channelConfigurationOptions: ChannelConfigurationOptions = {
bot: data.get('bot') === '1',
botNickname: data.get('bot_nickname')?.toString() ?? '',
bannedJIDs: (data.get('banned_jids')?.toString() ?? '').split(/\r?\n|\r|\n/g),
// bannedJIDs: (data.get('banned_jids')?.toString() ?? '').split(/\r?\n|\r|\n/g),
forbiddenWords: (data.get('forbidden_words')?.toString() ?? '').split(/\r?\n|\r|\n/g)
}