Update channels.js

This commit is contained in:
freearhey 2023-10-18 21:04:55 +03:00
parent 4c345a5bb0
commit e93d1c159a

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()