Update editor.js

This commit is contained in:
freearhey committed 2023-06-30 19:55:14 +03:00
1 parent 95134277fe
commit 1ea04c53a9
1 file changed
+1
+1
View File
@@ -118,6 +118,7 @@ async function getSimilar(list, channelId) {
function generateCode(name, country) {
const id = transliterate(name)
.replace(/\+/gi, 'Plus')
.replace(/^\&/gi, 'And')
.replace(/[^a-z\d]+/gi, '')
return `${id}.${country}`