Update channels.js

This commit is contained in:
freearhey 2023-11-30 13:14:37 +03:00
parent da9e4098ee
commit 64dad53e3c

View file

@ -7,7 +7,7 @@ module.exports = {
.regex(/^[A-Za-z0-9]+\.[a-z]{2}$/)
.required(),
name: Joi.string()
.regex(/^[a-z0-9-!:&.+'/»#%°$@?|¡–\s]+$/i)
.regex(/^[a-z0-9-!:&.+'/»#%°$@?|¡–\s_—]+$/i)
.required(),
alt_names: Joi.array().items(
Joi.string()