1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-20 00:43:36 +03:00

Allow U+0401 (Ё) and U+0451 (ё) in nicknames

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2023-07-21 15:31:45 +05:00
parent 62545f8c08
commit 1e41e34ea1
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF

View file

@ -259,7 +259,7 @@ public partial class GuildUpdateService : BackgroundService {
return Task.CompletedTask; return Task.CompletedTask;
} }
[GeneratedRegex("[^A-zА-я0-9]")] [GeneratedRegex("[^0-9A-zЁА-яё]")]
private static partial Regex IllegalCharsRegex(); private static partial Regex IllegalCharsRegex();
private async Task TickReminderAsync(Reminder reminder, IUser user, MemberData memberData, CancellationToken ct) { private async Task TickReminderAsync(Reminder reminder, IUser user, MemberData memberData, CancellationToken ct) {