Improve omedeto. Detect feminine by verbs.

This commit is contained in:
AB
2020-12-30 15:12:17 +03:00
parent 0812c9e371
commit 39640139fa
2 changed files with 42 additions and 17 deletions

View File

@ -29,7 +29,6 @@ pub async fn handler(
let cleaned_message = data
.to_string()
.replace(&format!("@{}", me.username.unwrap()), "");
debug!("{}", cleaned_message);
match cleaned_message.as_str() {
"/here" => commands::here(api, message).await?,
"/top" => commands::top(api, message).await?,