mirror of
https://github.com/revanced/revanced-discord-bot.git
synced 2025-04-30 14:34:29 +02:00
fix: use correct substitute name if necessary
This commit is contained in:
parent
ccc3834210
commit
b9fa498950
@ -33,7 +33,7 @@ pub async fn cure(
|
||||
);
|
||||
|
||||
if cured_name.is_empty() || !cured_name.starts_with(|c: char| c.is_ascii_alphabetic()) {
|
||||
cured_name = "ReVanced user".to_string();
|
||||
cured_name = "ReVanced member".to_string();
|
||||
}
|
||||
|
||||
if name.to_lowercase() == cured_name {
|
||||
|
Loading…
x
Reference in New Issue
Block a user