Skip to content

Commit

Permalink
warn if old (-official, -examples, etc)
Browse files Browse the repository at this point in the history
  • Loading branch information
mi2ebi committed Nov 28, 2024
1 parent 36e2932 commit 296522c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/time.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024-11-28T05:17:25.216448900Z
2024-11-28T05:25:36.401012200Z
2 changes: 1 addition & 1 deletion data/toakue.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/bin/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ fn dictify(the: &str) -> Vec<Toa> {
AÁÄÂẠBCDEÉËÊẸFGHIÍÏÎỊJKLMNOÓÖÔỌPQRSTUÚÜÛỤꝠZ \
.,?!-\u{0323}()«»‹›\u{0301}\u{0308}\u{0302}"
.contains(c)
}))
})
|| toa.user.starts_with("old"))
&& !toa.body.contains("textspeak")
&& !toa.notes.iter().any(|n| n.content.contains("textspeak")),
..toa
Expand Down

0 comments on commit 296522c

Please sign in to comment.