BlackWolfWoof/yagpdb-cc

Snippet System/Snippet name can`t be saved if isn`t English

swiezdo opened this issue · 1 comments

I`m trying to save snippet name as охотник, but there is error. Any way to fix it?

It currently only allows Latin characters, matching against the regex [a-zA-Z0-9_].
Presumably there is a reason for this, but I can't think of a reason removing this check would break anything (maybe some Unicode weirdness).
To allow any non-whitespace character in the snippet name you'll need to edit lines 76 and 107, as you seem to have done already.