feat(tripple): Add tripple meme
This commit is contained in:
parent
043347c4bb
commit
82102b954e
@ -107,6 +107,13 @@ fn main() {
|
||||
api.spawn(message.text_reply(
|
||||
format!("{} just hit leet! New score: {}", message.from.first_name, *entry)
|
||||
));
|
||||
|
||||
let current_leet_count = time_scored_map.iter().filter(|(_,t)| (**t - Local::now()).num_seconds() < allowed_timegap * 2).count();
|
||||
|
||||
if current_leet_count == 3 {
|
||||
api.spawn(message.chat.text("OH BABY A TRIPPLE!!!"));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user