Add an emoji to badwords list

This commit is contained in:
Aleksandras Kostarevas 2024-03-18 13:11:02 -05:00
parent 0302cbffd9
commit 12110e96aa

View File

@ -461,7 +461,8 @@ val badWords = listOf(
"yed",
"zabourah",
"fucked",
"asdfbadwordasdf"
"asdfbadwordasdf",
"\uD83D\uDD95"
).flatMap { listOf(it, it.lowercase(), it.uppercase(), it.lowercase().capitalize()) }.toSet()
fun isFiltered(word: String): Boolean {