Configure bot name + refactoring.
This commit is contained in:
		| @ -27,6 +27,7 @@ async function vivifyConfigurationChannel ( | ||||
|     const data = new FormData(form) | ||||
|     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), | ||||
|       forbiddenWords: (data.get('forbidden_words')?.toString() ?? '').split(/\r?\n|\r|\n/g) | ||||
|     } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user